Vulnerability · Published Aug 11, 2025 · Assigned by VulDB
CVE-2025-8845NASM Netwide Assember nasm.c assemble_file stack-based overflow
Medium 5.3
In plain English
A medium-severity stack buffer overflow in Netwide Assember from NASM. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities).
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 76.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nasm | no fix listed | DEBIAN-CVE-2025-8845 |
| Debian:13 | nasm | no fix listed | DEBIAN-CVE-2025-8845 |
| Debian:14 | nasm | no fix listed | DEBIAN-CVE-2025-8845 |
| Ubuntu:25.10 | nasm | no fix listed | UBUNTU-CVE-2025-8845 |
| Ubuntu:26.04:LTS | nasm | no fix listed | UBUNTU-CVE-2025-8845 |
| Ubuntu:26.10 | nasm | no fix listed | UBUNTU-CVE-2025-8845 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NASM | Netwide Assember | 2.17rc0 |
Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-319379 | NASM Netwide Assember nasm.c assemble_file stack-based overflow vdb-entry, technical-description
- VDB-319379 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #623188 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption third-party-advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392937 issue-tracking
- https://drive.google.com/file/d/1pEQb6lcdohWV53DzPPU7kaCCNg-qAaau/view?usp=drive_link exploit