cve.bz

CVE-2026-6067 nasm netwide assembler: Out-of-bounds Write

5.5 mediumExploit referenceEPSS 0.4%

Medium (5.5) in nasm netwide assembler. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory corruption, denial of service (crash), and arbitrary code execution.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-04-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6067 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6067?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6067?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6067 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nasm:netwide_assembler3.02:rc5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14nasmno fix listedDEBIAN-CVE-2026-6067
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morenasmno fix listedUBUNTU-CVE-2026-6067
SUSELinux Enterprise Module for Development Tools 15 SP7nasm2.16.03-150700.3.3.1SUSE-SU-2026:3178-1
openSUSELeap 16.0nasm3.02-160000.1.1openSUSE-SU-2026:21333-1
openSUSETumbleweednasm3.02-1.1openSUSE-SU-2026:11217-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT heap buffer overflow in Netwide Assembler (NASM) can lead to arbitrary code execution. This flaw requires a local attacker to provide a specially crafted assembly file for processing. Red Hat Enterprise Linux systems are affected if NASM is used to assemble untrusted .asm files.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nasmNot affected
Red Hat Enterprise Linux 6nasmOut of support scope
Red Hat Enterprise Linux 7nasmNot affected
Red Hat Enterprise Linux 8nasmNot affected
Red Hat Enterprise Linux 9nasmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6067.

References

Check your stackJSON