CVE-2025-8842
CVE-2025-8842 is a medium-severity vulnerability in Nasm Netwide Assembler with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v2: 4.3
- CVSS v4: 1.9
- EPSS exploit prediction: 0% (10th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-24140
- Weakness: CWE-416
- Affected product: Nasm Netwide Assembler
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-8842?
- 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.
- How severe is CVE-2025-8842?
- CVE-2025-8842 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-8842 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (10th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-8842?
- CVE-2025-8842 affects Nasm Netwide Assembler. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-8842?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-8842 have an EU (EUVD) identifier?
- Yes. CVE-2025-8842 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-24140.
- When was CVE-2025-8842 published?
- CVE-2025-8842 was published on 2025-08-11 and last updated on 2026-06-17.
References
- https://bugzilla.nasm.us/show_bug.cgi?id=3392933
- https://drive.google.com/file/d/11vEV1vMHXO4BrDGhvWAMm0Qo1woiUwVV/view?usp=drive_link
- https://vuldb.com/?ctiid.319376
- https://vuldb.com/?id.319376
- https://vuldb.com/?submit.623184
Affected products (1)
- cpe:2.3:a:nasm:netwide_assembler:2.17:rc0:*:*:*:*:*:*
More vulnerabilities in Nasm Netwide Assembler
- CVE-2004-1287 — Critical (CVSS 10.0): Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to execute arbitrary code via…
- CVE-2020-24978 — Critical (CVSS 9.8): In NASM 2.15.04rc3, there is a double-free vulnerability in pp_tokline asm/preproc.c. This is fixed in commit…
- CVE-2026-6068 — Critical (CVSS 9.6): NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed…
- CVE-2008-7177 — Critical (CVSS 9.3): Buffer overflow in the listing module in Netwide Assembler (NASM) before 2.03.01 has unknown impact and attack vectors,…
- CVE-2023-31722 — High (CVSS 7.8): There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).
- CVE-2022-44370 — High (CVSS 7.8): NASM v2.16 was discovered to contain a heap buffer overflow in the component quote_for_pmake() asm/nasm.c:856
All CVEs affecting Nasm Netwide Assembler →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…