CVE-2026-6067

CVE-2026-6067

Published Apr 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap buffer overflow exists in Netwide Assembler's obj_directive() function due to omitted bounds checking. When an attacker supplies a specially crafted assembly file, the overflow can corrupt heap memory, trigger a crash, or enable arbitrary code execution. The weakness corresponds to CWE‑120, Buffer Copy without Checking Size of Input, and CWE‑787, Buffer Access with Improper Check.

Affected Systems

The vulnerability affects the Netwide Assembler (NASM). The advisory does not list specific affected versions, so users should refer to the vendor’s release notes or security bulletin for version details. The issue applies to installations that compile or assemble code on a local machine or within build environments.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of less than 1% suggests a low likelihood of current exploitation. The vulnerability is not listed in CISA's KEV catalog. Exploitation requires the ability to run NASM on a system with access to an attacker‑crafted assembly file; therefore the attack vector is likely local or depends on user privileges, but could be amplified in CI/CD pipelines that automatically assemble untrusted code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest NASM release that includes the fix.
  • If an upgrade is not immediately possible, restrict execution of NASM to trusted source files and prevent untrusted users from providing assembly files.
  • Monitor NASM usage for abnormal assembly activity and consider disabling automatic assembly of untrusted code until a patch is applied.

Generated by OpenCVE AI on April 17, 2026 at 08:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nasm netwide Assembler
Weaknesses CWE-787
CPEs cpe:2.3:a:nasm:netwide_assembler:3.02:rc5:*:*:*:*:*:*
Vendors & Products Nasm netwide Assembler
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nasm
Nasm nasm
Vendors & Products Nasm
Nasm nasm
Type Values Removed Values Added
Description 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.
Title CVE-2026-6067
References
Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Apr 10, 2026, 2:58 PM
Reserved
Apr 10, 2026, 1:26 PM
Status
Analyzed
Published
Apr 10, 2026, 2:16 PM
Modified
Jun 17, 2026, 11:00 AM
Severity
Important
Public date
Apr 10, 2026, 1:30 PM