Use After Free in Nasm
CVE-2026-6068
NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global depend_file and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing for data corruption or remote code execution.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 38.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nasm — versions nasm-3.02rc5
- Nasm Netwide Assembler — versions 3.02
Weakness classification (CWE)
References
- github.com/netwide-assembler/nasm/issues/222 (Exploit, Issue Tracking)
- sekai.team/blog/nasm-cve-disclosure/cve-2026-6068 (Exploit, Third Party Advisory)