CVE-2026-6068: Use After Free
NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global dependfile and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing for data corruption or remote code execution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/nasmto a version that resolves this vulnerability.Fixed in 3.01-1ubuntu0.26.10.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-6068?
CVE-2026-6068 is categorized as a high severity vulnerability due to the potential for data corruption and exploitation.
How do I fix CVE-2026-6068?
To fix CVE-2026-6068, update to the latest version of NASM that addresses this vulnerability.
What type of vulnerability is CVE-2026-6068?
CVE-2026-6068 is a heap use after free vulnerability found in the response file processing of NASM.
What software versions are affected by CVE-2026-6068?
CVE-2026-6068 affects NASM version 3.02-rc5.
Can CVE-2026-6068 lead to remote code execution?
CVE-2026-6068 can potentially lead to data corruption but does not inherently lead to remote code execution.