Buffer overflow in Nasm Netwide Assember
CVE-2025-8846
A vulnerability has been found in NASM Netwide Assember 2.17rc0. Affected is the function parse_line of the file parser.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 26.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nasm Netwide Assember — versions 2.17rc0
- Nasm Netwide Assembler — versions 2.17
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-319380 | NASM Netwide Assember parser.c parse_line stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-319380 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #623189 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- bugzilla.nasm.us/show_bug.cgi (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- drive.google.com/file/d/1MQGtdnz58vRF2fAeJMJ4VGiBQWXpnqfy/view (Exploit, exploit)