CVE-2026-135294

LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()

Medium published · updated

5.8
CVSS score out of 10 · NVD (vulncheck.com)

Description

LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in RS_FilterDXF1::readFileInBuffer() caused by unvalidated truncation of the 64-bit file size. Attackers can persuade users to open a crafted DXF file sized 0xFFFFFFF8 bytes, writing a NUL byte before an 8-byte buffer to corrupt heap metadata and crash the application.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
librecad librecad ≤2.2.1.6— CVE.org

References