Heap out-of-bounds write in LibreCAD DWG file parsing
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
LibreCAD through 2.2.1.6 bundles the libdxfrw library, which has a heap-based out-of-bounds write in dwgReader18::parseDataPage. The function does not check buffer sizes and page offsets, which leads to CWE-787. An attacker can craft an AC1018 (R2004) DWG file that writes past the heap buffer when a user opens it, causing crashes and potentially code execution.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in the bundled libdxfrw dwgReader18::parseDataPage() function due to unchecked buffer size and page offsets. Attackers can craft an AC1018 (R2004) DWG file with malicious startOffset values that cause decompress18 to write past the heap buffer when opened, causing crashes and potential code execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for LibreCAD.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Vendor assessments
Timeline
- 2026-11-11 Threatist record created from CVE-2026-126497
- 2026-11-11 Alias added: GHSA-8vq5-h62f-ccwp
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-12 CISA SSVC decision points changed
References
More LibreCAD vulnerabilities
- TI-2023-14195 A Buffer Overflow vulnerability in importshp plugin in LibreCAD 2.2.0 allows attackers to… CVSS 3.1MEDIUM 5.5
- TI-2026-74100 Stack out-of-bounds read in LibreCAD libdxfrw DWG header parsing CVSS 4.0MEDIUM 4.8
- TI-2021-20492 A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD… CVSS 3.1HIGH 8.8
- TI-2021-04945 Use after free in LibreCAD CVSS 3.1HIGH 8.8
- TI-2021-04944 Memory corruption in LibreCAD CVSS 3.1HIGH 8.8
- TI-2021-04943 Memory corruption in LibreCAD CVSS 3.1HIGH 8.8
Sources
- CVE-2026-126497 · CVE Program
- CVE-2026-126497 · NVD
- FIRST EPSS
- GHSA-8vq5-h62f-ccwp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-126497 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences