Buffer overflow in Nasm
CVE-2026-6069
NASM’s disasm() function contains a stack based buffer overflow when formatting disassembly output, allowing an attacker triggered out-of-bounds write when `slen` exceeds the buffer capacity.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 39.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nasm — versions nasm-3.02rc5
- Nasm Netwide Assembler — versions 3.02
Weakness classification (CWE)
References
- github.com/netwide-assembler/nasm/issues/217 (Exploit, Issue Tracking)