CVE-2025-8845: NASM Netwide Assember nasm.c assemble_file stack-based overflow
Vulnerability summary
CVE-2025-8845 is a high (CVSS 7.8) vulnerability in nasm netwide assember. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 28% of scored vulnerabilities. 3 public exploits are recorded.
Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 11-08-2025PublishedVulnerability first disclosed.
- 12-08-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 4 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- NVDNIST1.9LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XDiffers
- CVE.orgCNA5.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST4.3MediumAV:L/AC:L/Au:S/C:P/I:P/A:P
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.31% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundExploit Reference (drive.google.com)
Maturity: unknown
Exploit Reference (vuldb.com)
Maturity: unknown
Exploit Reference (bugzilla.nasm.us)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-121Stack-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the stack.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Nasm2 products
- netwide assember2.17rc0
- netwide_assembler2.17:rc0
Debian1 product
- nasmAll versions (No fix recorded)
Ubuntu1 product
- nasmAll versions (No fix recorded)
3 vendors · 4 products