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

CVE-2026-9530: GNU LibreDWG Use-After-Free Vulnerability

CVE-2026-9530 is a use-after-free vulnerability in GNU LibreDWG up to version 0.14 affecting the Dwgbmp Utility. This flaw enables local attackers to exploit memory corruption. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: May 28, 2026

CVE-2026-9530 Overview

CVE-2026-9530 affects GNU LibreDWG up to version 0.14, a free C library for reading and writing DWG files. The flaw resides in the read_2004_compressed_section function within src/decode.c, part of the Dwgbmp utility component. A crafted DWG file can trigger an out-of-bounds read during decompression of the 2004-format section. Exploitation requires local access and low privileges, with no user interaction. A public proof-of-concept exists, and upstream maintainers shipped commit 8f03865f37f5d4ffd616fef802acc980be54d300 to remediate the issue.

Critical Impact

Processing a malicious DWG file with a vulnerable LibreDWG build causes an out-of-bounds read in the decompression routine, leading to information disclosure or process termination [CWE-119].

Affected Products

  • GNU LibreDWG versions up to and including 0.14
  • Applications and utilities linking against vulnerable LibreDWG builds (including dwgbmp)
  • Downstream Linux distributions packaging affected LibreDWG releases

Discovery Timeline

  • 2026-05-26 - CVE-2026-9530 published to NVD
  • 2026-05-26 - Last updated in NVD database
  • Patch commit - 8f03865f37f5d4ffd616fef802acc980be54d300 published in the LibreDWG repository

Technical Details for CVE-2026-9530

Vulnerability Analysis

The defect is a memory boundary violation [CWE-119] inside read_2004_compressed_section, which parses compressed sections of AutoCAD 2004-format DWG containers. The function computes section size and address values directly from attacker-controlled header fields. When those fields exceed the allocated decompression buffer or the underlying data stream, the loop reads past the end of the buffer. The result is an out-of-bounds read on heap memory, exposing adjacent allocation contents or crashing the parser. Because the Dwgbmp utility and library are commonly invoked through file-handling workflows, malicious DWG files reach the vulnerable code without privileged operations.

Root Cause

The function trusted decoded fields es.fields.address and es.fields.page_size without validating them against the destination buffer size (max_decomp_size) or the source buffer size (dec.size). Missing bounds checks allowed address + size to exceed allocated memory before the copy loop completed.

Attack Vector

An attacker with local access supplies a crafted DWG file to a user or service that processes it with LibreDWG. The parser dereferences out-of-range offsets during section decompression. Exploitation does not require elevated privileges and runs in the context of the invoking user.

c
               = MIN ((BITCODE_RL)(info->size - es.fields.address),
                      es.fields.page_size);
           if (info->compressed == 2 || bytes_left < 0
+              || es.fields.address > max_decomp_size
               || es.fields.address + size > max_decomp_size
+              || es.fields.address + size > dec.size
               || offset + size > dat->size)
             {
               LOG_ERROR ("Some section size or address out of bounds");

Source: LibreDWG commit 8f03865 — the patch adds two new guards that reject sections whose decoded address exceeds max_decomp_size or whose address + size exceeds dec.size, blocking the out-of-bounds read before the copy loop executes.

Detection Methods for CVE-2026-9530

Indicators of Compromise

  • Crashes or abnormal terminations in processes loading the libredwg shared object while parsing DWG input
  • Presence of the proof-of-concept sample libredwg_6d6a339_heap_oob_write_read_2004_compressed_section.dwg referenced in the public PoC repository
  • AddressSanitizer or Valgrind reports flagging heap-buffer-overflow reads inside read_2004_compressed_section

Detection Strategies

  • Inventory binaries linked against vulnerable LibreDWG using package managers (dpkg -l | grep libredwg, rpm -qa | grep libredwg) and SBOM tooling
  • Run fuzz harnesses or AddressSanitizer-instrumented builds against untrusted DWG files in a sandbox
  • Hash-compare DWG files against the public PoC sample and alert on matches

Monitoring Recommendations

  • Forward crash dumps from systems running DWG converters and CAD pipelines to a central log store for review
  • Alert on unexpected child processes or segmentation faults from utilities such as dwgbmp, dwgread, and dwgwrite
  • Track DWG file ingress through email gateways, file shares, and web upload endpoints to identify untrusted sources

How to Mitigate CVE-2026-9530

Immediate Actions Required

  • Update LibreDWG to a build that includes commit 8f03865f37f5d4ffd616fef802acc980be54d300 or a later release beyond 0.14
  • Rebuild and redistribute internal tools statically linked against vulnerable LibreDWG versions
  • Restrict execution of LibreDWG utilities to trusted DWG sources until patching is complete

Patch Information

The upstream fix is published as commit 8f03865f37f5d4ffd616fef802acc980be54d300 in the LibreDWG repository. The patch adds bounds validation for the decoded section address and size before the decompression loop reads from the buffer. Issue tracking is available in the LibreDWG GitHub issue #1248 and the VulDB report 365549.

Workarounds

  • Process untrusted DWG files inside a sandbox or container with no access to sensitive data
  • Run LibreDWG utilities under a dedicated low-privilege account with strict filesystem ACLs
  • Disable automated DWG ingestion pipelines until the patched library is deployed
bash
# Verify installed LibreDWG version and rebuild from patched source
libredwg-config --version

git clone https://github.com/LibreDWG/libredwg.git
cd libredwg
git checkout 8f03865f37f5d4ffd616fef802acc980be54d300
./autogen.sh
./configure --disable-bindings
make && sudo make install

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLibredwg

  • 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:N/VI:N/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 Commit Log

  • GitHub Issue Report

  • VulDB Submission

  • VulDB Vulnerability Report

  • VulDB CTI Information

  • GNU Project Website
  • Related CVEs
  • CVE-2026-9504: GNU LibreDWG Use-After-Free Vulnerability

  • CVE-2026-9503: GNU LibreDWG Use-After-Free Vulnerability

  • CVE-2026-9605: GNU libredwg Buffer Overflow Vulnerability

  • CVE-2026-9502: GNU LibreDWG Buffer Overflow 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