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

5.8MEDIUM

Key Information:

Vendor

Librecad

Status
Vendor
CVE Published:
23 November 2026

What is CVE-2026-135294?

LibreCAD versions up to 2.2.1.6 contain a heap-based out-of-bounds write vulnerability in the RS_FilterDXF1::readFileInBuffer() function. This issue arises from the unvalidated truncation of a 64-bit file size, allowing attackers to craft a specific DXF file of size 0xFFFFFFF8 bytes. When this file is opened, it can lead to writing a NUL byte before an 8-byte buffer, resulting in the corruption of heap metadata and potentially crashing the application.

Affected Version(s)

LibreCAD 0 <= 2.2.1.6

References

CVSS V4

Score:
5.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Lee Keon-Hyeong
Shin Dong-Hoon
.