Vulnerability · Published Aug 11, 2025 · Assigned by VulDB

CVE-2025-8842NASM Netwide Assember preproc.c do_directive use after free

Medium 5.3

In plain English

A medium-severity use-after-free 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.2% (higher than 16% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 83.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nasmno fix listedDEBIAN-CVE-2025-8842
Debian:13nasmno fix listedDEBIAN-CVE-2025-8842
Debian:14nasmno fix listedDEBIAN-CVE-2025-8842
Ubuntu:25.10nasmno fix listedUBUNTU-CVE-2025-8842
Ubuntu:26.04:LTSnasmno fix listedUBUNTU-CVE-2025-8842
Ubuntu:26.10nasmno fix listedUBUNTU-CVE-2025-8842

Affected products (as reported)

VendorProductVersions
NASM Netwide Assember 2.17rc0

Weakness: CWE-416, 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