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-9500

CVE-2026-9500: GNU LibreDWG Buffer Overflow Vulnerability

CVE-2026-9500 is a heap-based buffer overflow in GNU LibreDWG affecting the read_2004_compressed_section function. This local vulnerability poses security risks. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-9500 Overview

CVE-2026-9500 is a heap-based buffer overflow in GNU LibreDWG versions up to 0.14. The flaw resides in the read_2004_compressed_section function in src/decode.c, which is part of the Dwgread utility used to parse DWG files. An attacker with local access can supply a crafted DWG file that triggers an out-of-bounds heap write or read during decoding. Public exploit material is available in a GitHub proof-of-concept repository, and the project was notified through an issue report but has not yet responded. The vulnerability is classified under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer).

Critical Impact

A crafted DWG file processed by Dwgread can corrupt heap memory, potentially leading to denial of service or local code execution in the context of the user running the utility.

Affected Products

  • GNU LibreDWG versions up to and including 0.14
  • Dwgread utility (component of LibreDWG)
  • src/decode.c source module, function read_2004_compressed_section

Discovery Timeline

  • 2026-05-25 - CVE-2026-9500 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-9500

Vulnerability Analysis

LibreDWG is the GNU library for reading and writing DWG, the native binary format used by AutoCAD. The DWG 2004 file format compresses section data using a custom algorithm that LibreDWG decompresses through read_2004_compressed_section in src/decode.c. The vulnerability occurs when this function processes attacker-controlled length or offset fields without sufficient validation against the destination heap allocation. A specially crafted DWG file forces the decoder to write past the bounds of the heap buffer, corrupting adjacent heap metadata or chunks.

The consequence depends on heap layout and the data overwritten. Outcomes range from process crashes to controlled memory corruption that can be leveraged for code execution. Because Dwgread is a command-line utility frequently invoked on untrusted input, supply-chain workflows and CAD processing pipelines are realistic attack surfaces.

Root Cause

The root cause is missing or insufficient bounds checking on length and offset values parsed from the compressed section header. The decoder trusts size fields from the file when computing destination writes, allowing the input to dictate how many bytes are written into a fixed-size heap allocation. This is a classic [CWE-119] buffer boundary violation in a binary parser.

Attack Vector

Exploitation requires local access and the ability to have a victim or automated pipeline open a malicious DWG file with dwgread or any consumer linking against LibreDWG. The attacker delivers a crafted DWG sample. When the parser reaches the 2004 compressed section, it allocates a buffer based on one field and writes data sized by another attacker-controlled field, producing the out-of-bounds write. A reference proof-of-concept DWG sample is published in the GitHub PoC Repository. Additional triage details are tracked in the GitHub Issue Tracker and VulDB #365482.

No verified code examples are available. See the linked issue and PoC artifact for technical reproduction details.

Detection Methods for CVE-2026-9500

Indicators of Compromise

  • Unexpected crashes or segmentation faults from dwgread or processes linking libredwg when handling DWG files
  • Presence of the published PoC file libredwg_6d6a339_heap_oob_write_read_2004_compressed_section.dwg or files with similar malformed 2004 compressed section headers
  • DWG files originating from untrusted sources placed in automated CAD processing directories

Detection Strategies

  • Run LibreDWG and Dwgread builds under AddressSanitizer (ASan) in test and triage environments to catch heap-out-of-bounds writes at parse time
  • Hash and quarantine DWG samples and compare against the published PoC artifact hash from the GitHub repository
  • Add file-type and size sanity checks at ingestion to flag DWG files with anomalous section table fields

Monitoring Recommendations

  • Monitor process telemetry for abnormal exits, SIGSEGV, or SIGABRT events from dwgread and applications embedding LibreDWG
  • Log invocations of CAD parsing utilities, including the source path of input files, to support post-incident triage
  • Audit shared file repositories and email gateways for DWG attachments from external senders

How to Mitigate CVE-2026-9500

Immediate Actions Required

  • Restrict use of dwgread and other LibreDWG-based tools to trusted DWG inputs until a fixed release is published
  • Isolate automated CAD processing in a sandbox or container with no network access and minimal filesystem privileges
  • Remove or disable the Dwgread utility on systems where it is not required

Patch Information

At the time of publication, the LibreDWG project had not released a fix. The issue is tracked upstream in the GitHub Issue Tracker. Monitor the GNU Project Website and the LibreDWG repository for an updated release beyond version 0.14 that addresses bounds checking in read_2004_compressed_section.

Workarounds

  • Do not open DWG files from untrusted or unverified sources with LibreDWG-based tools
  • Run Dwgread inside a restricted sandbox (for example, firejail, bubblewrap, or a disposable container) when DWG parsing is unavoidable
  • Rebuild LibreDWG with hardening flags such as -D_FORTIFY_SOURCE=2, -fstack-protector-strong, and AddressSanitizer for triage workflows
  • Apply mandatory access controls (SELinux, AppArmor) to limit the privileges of processes that parse DWG files
bash
# Configuration example: run dwgread in a restricted bubblewrap sandbox
bwrap \
  --ro-bind /usr /usr \
  --ro-bind /lib /lib \
  --ro-bind /lib64 /lib64 \
  --bind /tmp/dwg-sandbox /work \
  --chdir /work \
  --unshare-all \
  --die-with-parent \
  -- dwgread ./untrusted.dwg

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGnu Libredwg

  • SeverityLOW

  • CVSS Score1.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-119
  • Technical References
  • GitHub PoC Repository

  • GitHub Issue Tracker

  • VulDB Vulnerability Submission

  • VulDB #365482

  • VulDB CTI for #365482

  • GNU Project Website
  • Latest CVEs
  • CVE-2026-50263: X.org X Server Use-After-Free Flaw

  • CVE-2026-21033: Samsung Assistant RCE Vulnerability

  • CVE-2026-21032: Samsung Assistant RCE Vulnerability

  • CVE-2026-50260: X.org X Server Use-After-Free Flaw
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