Read the docs

Heap out-of-bounds write in LibreCAD DWG file parsing

Priority LOW 38CWE-787Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00171 6th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
LibreCADLibreCADup to 2.2.1.6—No fix listedCNA
  • LibreCAD VendorLibreCAD Affected up to 2.2.1.6 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for LibreCAD.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-11-11 Threatist record created from CVE-2026-126497
  2. 2026-11-11 Alias added: GHSA-8vq5-h62f-ccwp
  3. 2026-11-11 Affected versions changed · Red Hat
  4. 2026-11-11 CVSS score added · Red Hat
  5. 2026-11-12 Priority changed: MEDIUM → LOW
  6. 2026-11-12 CISA SSVC decision points changed

References

  • 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
See all 9 →

Sources