Heap-Based Out-of-Bounds Write Vulnerability in LibreCAD by LibreCAD
CVE-2026-126497

8.5HIGH

Key Information:

Vendor

Librecad

Status
Vendor
CVE Published:
11 November 2026

What is CVE-2026-126497?

LibreCAD versions up to 2.2.1.6 are susceptible to a heap-based out-of-bounds write vulnerability within the libdxfrw library. This issue arises from inadequate control over buffer size and page offsets in the dwgReader18::parseDataPage() function. Attackers can exploit this vulnerability by crafting specially designed AC1018 (R2004) DWG files with malicious startOffset values. When such files are opened, the decompress18 function may write past the allocated heap buffer, leading to application crashes and enabling potential arbitrary code execution.

Affected Version(s)

LibreCAD 0 <= 2.2.1.6

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Lee Keon-Hyeong
Park-Jung-Hyun
dxli
.