CVE-2025-8842 NASM Netwide Assember preproc.c do_directive use after free
MediumCVSS 4.8
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
A vulnerability has been found in NASM Netwide Assember 2.17rc0. Affected by this issue is the function do_directive of the file preproc.c. The manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.
Upgrade path
11 packages: 0 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux nasm(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner nasm(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| debian/nasm(Debian 12) | = 2.16.01-1; = 2.16.03-1; = 3.01-1; All versions | No fix listed | No fix yet |
| debian/nasm(Debian 13) | = 2.16.03-1; = 3.01-1; All versions | No fix listed | No fix yet |
| debian/nasm(Debian 14) | = 2.16.03-1; = 3.01-1; All versions | No fix listed | No fix yet |
| ubuntu/nasm(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/nasm(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/nasm(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/nasm(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| nasm Netwide Assember | = 2.17rc0 | No fix listed | Versions listed |
| nasm netwide assembler | = 2.17-rc0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner nasm(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux nasm(Azure Linux:3.0) | All versions | No fix listed |
| debian/nasm(Debian:12) | All versions | No fix listed |
| debian/nasm(Debian:12) | = 2.16.01-1 | No fix listed |
| debian/nasm(Debian:12) | = 2.16.03-1 | No fix listed |
| debian/nasm(Debian:12) | = 3.01-1 | No fix listed |
| debian/nasm(Debian:13) | All versions | No fix listed |
| debian/nasm(Debian:13) | = 2.16.03-1 | No fix listed |
| debian/nasm(Debian:13) | = 3.01-1 | No fix listed |
| debian/nasm(Debian:14) | All versions | No fix listed |
| debian/nasm(Debian:14) | = 2.16.03-1 | No fix listed |
| debian/nasm(Debian:14) | = 3.01-1 | No fix listed |
| nasm Netwide Assember | = 2.17rc0 | No fix listed |
| ubuntu/nasm(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nasm(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nasm(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/nasm(Ubuntu:26.10) | All versions | No fix listed |
| nasm netwide assembler | = 2.17-rc0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2025-8842 vendor-advisory
- VDB-319376 | NASM Netwide Assember preproc.c do_directive use after free technical-description third-party-advisory vdb-entry
- VDB-319376 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #623184 | nasm NASM version 2.17rc0 compiled on Jul 20 2025 and the newest master (888d9ab) Memory Corruption exploit third-party-advisory vdb-entry
- bugzilla.nasm.us exploit issue-tracking vendor-advisory
- drive.google.com exploit
- Ubuntu CVE tracker vendor-advisory
- www.cve.org