Heap-Based Out-of-Bounds Write Vulnerability in LibreCAD by LibreCAD
CVE-2026-135294
5.8MEDIUM
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
