Buffer overflow in Nasm Netwide Assember
CVE-2025-8845
A vulnerability was identified in NASM Netwide Assember 2.17rc0. This issue affects the function assemble_file of the file nasm.c. The manipulation leads to stack-based buffer overflow. It is possible to launch the attack on the local host. 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-319379 | NASM Netwide Assember nasm.c assemble_file stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-319379 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #623188 | 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/1pEQb6lcdohWV53DzPPU7kaCCNg-qAaau/view (Exploit, exploit)