A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6069

CVE-2026-6069: Nasm Netwide Assembler Buffer Overflow

CVE-2026-6069 is a stack-based buffer overflow in Nasm Netwide Assembler's disasm() function that enables attackers to trigger out-of-bounds writes. This article covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-6069 Overview

CVE-2026-6069 is a stack-based buffer overflow vulnerability in the Netwide Assembler (NASM), specifically affecting the disasm() function. The vulnerability occurs when formatting disassembly output, where an attacker can trigger an out-of-bounds write when the slen parameter exceeds the allocated buffer capacity. This flaw is classified as CWE-787 (Out-of-bounds Write) and can lead to denial of service conditions when processing maliciously crafted input.

Critical Impact

Processing specially crafted assembly files with NASM can trigger a stack-based buffer overflow, potentially crashing the application and causing denial of service.

Affected Products

  • NASM Netwide Assembler version 3.02 RC5
  • NASM Netwide Assembler versions with vulnerable disasm() implementation

Discovery Timeline

  • 2026-04-10 - CVE-2026-6069 published to NVD
  • 2026-04-16 - Last updated in NVD database

Technical Details for CVE-2026-6069

Vulnerability Analysis

The vulnerability resides in NASM's disasm() function, which is responsible for formatting disassembly output into human-readable text. During the formatting process, the function writes output to a stack-allocated buffer without adequately validating that the slen variable (representing string length) remains within the buffer's boundaries.

When processing certain inputs, the slen value can exceed the buffer capacity, causing the function to write data beyond the allocated stack memory region. This out-of-bounds write corrupts adjacent stack data, which can result in application crashes and denial of service. The vulnerability is particularly concerning because it can be triggered remotely through maliciously crafted assembly source files or object files processed by NASM.

Root Cause

The root cause is insufficient bounds checking in the disasm() function when calculating and using the slen variable during output formatting operations. The function fails to verify that the cumulative length of the formatted disassembly string does not exceed the fixed-size stack buffer before writing additional data. This missing validation allows the write operation to overflow into adjacent stack memory.

Attack Vector

An attacker can exploit this vulnerability by crafting a malicious assembly file that, when disassembled by NASM, causes the disasm() function to generate output exceeding the buffer capacity. The attack can be delivered through:

  1. Direct file processing - Convincing a user or automated build system to process a malicious .asm or object file
  2. Build pipeline compromise - Submitting malicious assembly code to projects that use NASM in their build process
  3. Web-based compilation services - Targeting online assemblers or educational platforms that use NASM

The vulnerability is exploitable over a network vector when NASM processes remotely-sourced files, requires no authentication or privileges, and needs no user interaction beyond normal file processing.

The vulnerability occurs in the disassembly formatting logic where the slen variable tracking output length can grow beyond the stack buffer's allocated size. When the accumulated string length exceeds buffer boundaries, subsequent write operations corrupt adjacent stack memory. Technical details and discussion can be found in the GitHub Issue Discussion.

Detection Methods for CVE-2026-6069

Indicators of Compromise

  • Unexpected NASM process crashes during assembly or disassembly operations
  • Segmentation fault errors in NASM process logs referencing the disasm() function
  • Abnormal assembly files with unusually long or complex instruction sequences in monitored directories
  • Core dumps from NASM showing stack corruption patterns

Detection Strategies

  • Monitor for NASM process crashes and abnormal terminations in build environments
  • Implement file integrity monitoring on assembly source files in critical build pipelines
  • Deploy application crash analysis tools to detect stack overflow patterns in NASM
  • Use static analysis tools to scan incoming assembly files for potentially malicious constructs

Monitoring Recommendations

  • Configure centralized logging for all NASM invocations in CI/CD pipelines
  • Set up alerts for repeated NASM process failures that could indicate exploitation attempts
  • Monitor system resources for unusual memory consumption during assembly operations
  • Track and audit the source of all assembly files processed by NASM in production environments

How to Mitigate CVE-2026-6069

Immediate Actions Required

  • Update NASM to the latest patched version that addresses the buffer overflow in disasm()
  • Audit and validate all assembly files before processing with NASM
  • Restrict NASM execution to trusted input sources only
  • Consider running NASM in a sandboxed environment to limit impact of potential crashes

Patch Information

Users should monitor the official NASM project for security updates addressing this vulnerability. Additional details about the issue and potential fixes are available in the GitHub Issue Discussion. Update to the latest stable release once a patched version is available.

Workarounds

  • Run NASM in a containerized or sandboxed environment to contain potential crashes
  • Implement input validation to reject unusually large or malformed assembly files before processing
  • Limit NASM disassembly features usage if not required for your workflow
  • Use alternative assemblers temporarily while awaiting an official patch
bash
# Example: Running NASM in a sandboxed environment
# Using firejail to contain potential crashes
firejail --private --net=none nasm -f elf64 input.asm -o output.o

# Alternative: Use Docker for isolation
docker run --rm -v $(pwd):/work:ro nasm-sandbox nasm -f elf64 /work/input.asm -o /work/output.o

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechNasm

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • GitHub Issue Discussion
  • Related CVEs
  • CVE-2026-6067: Nasm Netwide Assembler RCE Vulnerability

  • CVE-2026-6068: Nasm Assembler Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English