All reports
High

nasm: Netwide Assembler (NASM): Arbitrary code execution via malicious assembly file processing

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-6067

Probability of exploitation in the next 30 days: 0.36%

FIRST EPSS · 2026-11-19

Description

A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory corruption, denial of service (crash), and arbitrary code execution.

A flaw was found in Netwide Assembler (NASM). This heap buffer overflow vulnerability, stemming from insufficient bounds checking, allows a user to execute arbitrary code by assembling a specially crafted malicious assembly (.asm) file. Successful exploitation can lead to unauthorized command execution, heap memory corruption, and denial of service, potentially causing system instability or crashes.