CVE-2025-8842 Details
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.
A critical use-after-free vulnerability has been identified in NASM (Netwide Assembler) version 2.17rc0. The issue arises in the 'do_directive' function within 'preproc.c', where the program improperly manages memory by accessing data that has already been freed. This flaw can lead to memory corruption and program crashes. The vulnerability requires local access to exploit and has been publicly disclosed, with an available proof-of-concept exploit.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.nasm.us/show_bug.cgi?id=3392933 | CISA-ADP | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?submit.623184 | CISA-ADP | ExploitThird Party AdvisoryVDB Entry |
| https://bugzilla.nasm.us/show_bug.cgi?id=3392933 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://drive.google.com/file/d/11vEV1vMHXO4BrDGhvWAMm0Qo1woiUwVV/view?usp=drive_link | [email protected] | Exploit |
| https://vuldb.com/?ctiid.319376 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.319376 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.623184 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nasm netwide assembler | 2.17 rc0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Sep 15, 2025 | Initial Analysis | [email protected] |
| Aug 11, 2025 | CVE Modified | CISA-ADP |
| Aug 11, 2025 | New CVE Received | [email protected] |