Skip to main content

Nasm EUVDEUVD-2026-21380

| CVE-2026-6068 CRITICAL
Use After Free (CWE-416)
2026-04-10 certcc
Critical
Disputed · 9.6 NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 base score of 6.5 reflects medium severity with low confidentiality impact (C:L) and low integrity impact (I:L) but no availability loss, characteristic of data corruption vulnerabilities. However, CISA's SSVC assessment significantly elevates real-world priority: exploitation is confirmed via a publicly available proof-of-concept, the attack is automatable (no user interaction required beyond supplying a malformed response file), and the technical impact is rated as partial rather than total. The combination of proof-of-concept availability, network-exploitability, and automatable attack path makes this a higher operational risk than the CVSS score alone suggests, particularly for development environments or build systems that process untrusted NASM response files. The confidentiality impact is limited (no authentication bypass or code execution), but the integrity impact and automatable nature warrant prioritization for patching, especially given NASM's use in cross-platform build chains.

Exploit ScenarioDerived

An attacker crafts a malicious NASM response file (-@) containing carefully chosen arguments that trigger the dangling-pointer dereference in depend_file processing. When NASM assembles code using this response file, the freed buffer is accessed, potentially reading or corrupting adjacent heap memory. In an automated build environment, such a file could be injected into a build artifact or supplied as input to a CI/CD pipeline, causing unexpected behavior or data corruption in compiled binaries without requiring user interaction or privilege escalation. A proof-of-concept for this attack is publicly available, making exploitation straightforward for attackers with knowledge of build-system integration.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

NASM up to version 3.02rc5 contains a heap use-after-free vulnerability in response file (-@) processing that allows remote attackers without authentication to cause data corruption or denial of service. The vulnerability arises from a dangling pointer stored in the global depend_file variable that is dereferenced after the response-file buffer has been freed. A proof-of-concept exploit exists, and CISA's SSVC framework rates this as automatable with partial technical impact, indicating moderate real-world risk despite the relatively modest CVSS score of 6.5.

RemediationAI

Upgrade to a patched release of NASM released after the 3.02rc5 release candidate. Check the official NASM GitHub repository (https://github.com/netwide-assembler/nasm) for the latest stable release that addresses the heap use-after-free flaw in response-file processing. If an immediate upgrade is not feasible, avoid processing response files (-@) from untrusted sources, and audit build pipelines to ensure that NASM response files are generated only by trusted tooling. The vulnerability details are documented in the NVD advisory (https://nvd.nist.gov/vuln/detail/CVE-2026-6068) and the upstream issue tracker (https://github.com/netwide-assembler/nasm/issues/222), which may contain information on the exact fix commit or patched version once released.

Affected VersionsENISA

nasm nasm-3.02rc5

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NASM (Netwide Assembler) is an open-source x86 assembler that supports response files (invoked via the -@ flag) to read command-line arguments from a file. The vulnerability is rooted in improper memory management during response-file processing: a pointer to the response-file buffer is assigned to the global depend_file variable, but the buffer is deallocated before the pointer is subsequently dereferenced. This is a classic heap use-after-free flaw (CWE-416 category), where freed memory is accessed after deallocation, potentially allowing an attacker to read adjacent heap data or corrupt heap metadata. The affected product spans all versions of NASM, with confirmed vulnerable releases including 3.02rc5. The network attack vector (AV:N) and absence of privilege or user interaction requirements (PR:N, UI:N) mean that a malicious response file can be supplied remotely to trigger the flaw.

Know when Nasm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
NVD PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Red Hat 6.8 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Severity Changed
May 26, 2026 - 20:07 NVD
MEDIUM CRITICAL
CVSS changed
May 26, 2026 - 20:07 NVD
6.5 (MEDIUM) 9.6 (CRITICAL)
CVE Published
Apr 10, 2026 - 13:30 nvd
MEDIUM 6.5

DescriptionCVE.org

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 unexpected behavior.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in NASM Buffer Overflow and Memory Corruption

View all 3

More in Nasm

View all
CVE-2020-24978 CRITICAL POC
9.8 Sep 04

In NASM 2.15.04rc3, there is a double-free vulnerability in pp_tokline asm/preproc.c. Rated critical severity (CVSS 9.8)

CVE-2017-10686 HIGH POC
7.8 Jun 29

In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm. Rated high

CVE-2023-31722 HIGH POC
7.8 May 17

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891). Rated high severity (CVSS 7.8), this vu

CVE-2019-8343 HIGH POC
7.8 Feb 15

In Netwide Assembler (NASM) 2.14.02, there is a use-after-free in paste_tokens in asm/preproc.c. Rated high severity (CV

CVE-2018-19216 HIGH POC
7.8 Nov 12

Netwide Assembler (NASM) before 2.13.02 has a use-after-free in detoken at asm/preproc.c. Rated high severity (CVSS 7.8)

CVE-2018-19215 HIGH POC
7.8 Nov 12

Netwide Assembler (NASM) 2.14rc16 has a heap-based buffer over-read in expand_mmac_params in asm/preproc.c for the speci

CVE-2018-19214 HIGH POC
7.8 Nov 12

Netwide Assembler (NASM) 2.14rc15 has a heap-based buffer over-read in expand_mmac_params in asm/preproc.c for insuffici

CVE-2018-10254 HIGH POC
7.8 Apr 21

Netwide Assembler (NASM) 2.13 has a stack-based buffer over-read in the disasm function of the disasm/disasm.c file. Rat

CVE-2017-17818 HIGH POC
7.5 Dec 21

In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer over-read that will cause a remote denial of service a

CVE-2017-17819 MEDIUM POC
5.5 Dec 21

In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in the function find_cc() in asm/preproc.c that

CVE-2017-17815 MEDIUM POC
5.5 Dec 21

In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in is_mmacro() in asm/preproc.c that will cause

CVE-2017-17812 MEDIUM POC
5.5 Dec 21

In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer over-read in the function detoken() in asm/preproc.c t

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy