Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111167 Overview
CVE-2026-111167 is an out-of-bounds read vulnerability in GNU LibreDWG through version 0.14.8612. The flaw resides in the acds_private() function of the AcDs decoder, where an unchecked schema property type index allows reads beyond a static table. Attackers can craft a malicious R2004 or R2010+ DWG file containing a large schdat property type value. When processed, this causes dwgread, dwg2dxf, or any downstream application linking LibreDWG to crash. The weakness is tracked under CWE-125 (Out-of-Bounds Read).
Critical Impact
Processing an attacker-supplied DWG file crashes any application built on LibreDWG, enabling local denial of service against CAD and conversion tools.
Affected Products
- GNU LibreDWG versions through 0.14.8612
- dwgread command-line utility
- dwg2dxf conversion utility and any third-party application linking LibreDWG
Discovery Timeline
- 2026-10-15 - CVE-2026-111167 published to the National Vulnerability Database
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111167
Vulnerability Analysis
LibreDWG is the free DWG file parsing library used by many open-source CAD tools. The AcDs (AutoCAD Data Storage) section of a DWG file contains schema definitions describing property types for embedded data. The decoder function acds_private() reads a property type index from the file and uses it to look up an entry in a static table. The index is attacker-controlled and never bounds-checked before dereference. A large value read from the schdat structure causes the decoder to read memory beyond the table boundary. The behavior triggers a segmentation fault in dwgread or dwg2dxf, terminating the host process.
Root Cause
The root cause is missing validation of the schema property type index against the size of the static lookup table referenced in the ACDS specification snippet. The decoder trusts a value parsed directly from untrusted file content.
Attack Vector
Exploitation requires an attacker to deliver a crafted R2004 or R2010+ DWG file and convince a local user to open or convert it. User interaction is required, and the attack vector is local. The impact is restricted to availability loss of the parsing process; the vulnerability does not grant code execution or data disclosure to a remote attacker. See the HackMD out-of-bounds exploit analysis and the VulnCheck advisory for the full technical write-up.
// No verified public proof-of-concept code is included.
// Refer to the HackMD write-up for the crafted schdat property structure.
Detection Methods for CVE-2026-111167
Indicators of Compromise
- Repeated crashes or SIGSEGV terminations of dwgread, dwg2dxf, or applications linking libredwg.so
- DWG files received from untrusted sources containing abnormally large AcDs schdat schema property type values
- Core dump artifacts referencing acds_private in the stack trace
Detection Strategies
- Scan file ingestion pipelines for DWG files triggering parser crashes and quarantine the source
- Monitor process exit codes from CAD conversion workflows and alert on abnormal terminations in libredwg call paths
- Inspect inbound DWG attachments at mail and web gateways using sandboxed parsing to flag crash-inducing payloads
Monitoring Recommendations
- Enable system-wide core dump collection on hosts running CAD conversion jobs and forward dumps to a central store for review
- Correlate repeated LibreDWG process crashes with file source metadata to identify malicious submission patterns
- Audit which internal applications link against libredwg so monitoring can be targeted to affected hosts
How to Mitigate CVE-2026-111167
Immediate Actions Required
- Inventory systems running LibreDWG 0.14.8612 or earlier, including batch conversion servers and developer workstations
- Restrict processing of DWG files to those originating from trusted sources until a patched build is deployed
- Run DWG conversion utilities under least-privilege service accounts and inside sandboxes to contain crashes
Patch Information
No fixed release had been published at the time of CVE publication. Monitor the GNU LibreDWG repository for commits adding bounds validation in acds_private() and upgrade once a tagged release above 0.14.8612 is available.
Workarounds
- Disable or avoid using dwgread and dwg2dxf on files received from external parties
- Wrap LibreDWG invocations in process supervisors that automatically restart crashed workers without re-processing the offending file
- Apply seccomp or AppArmor profiles to LibreDWG consumers to limit the blast radius of a parser crash
# Example: run dwg2dxf under a restrictive sandbox and resource limit
systemd-run --scope --user \
--property=MemoryMax=256M \
--property=NoNewPrivileges=yes \
firejail --seccomp --net=none \
dwg2dxf /path/to/untrusted.dwg
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

