CVE-2026-135294
LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()
Medium · 5.8
- CVSS
- 5.8
- EPSS
- 0.37% (p23)
- Published
- 2026-11-23
- Age
- 6d old
- Modified
- 2026-11-25
- Product
- LibreCAD LibreCAD
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
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.
Sources
- NVD · first seen 6d ago · NVD terms of use
- OSV · first seen 6d ago · CC-BY 4.0
- CVE List · first seen 6d ago · CVE Terms of Use
References
- https://github.com/LibreCAD/LibreCAD/pull/3287 issue-tracking
- https://github.com/LibreCAD/LibreCAD/commit/4e51048ee7ae82e553e739b3bba82d5fa89698e1 patch
- https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/librecad/src/lib/filters/rs_filterdxf1.cpp#L1827-L1850 technical-description
- https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-rs-filterdxf1-readfileinbuffer third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135294.json advisory
- https://github.com/LibreCAD/LibreCAD package
- https://nvd.nist.gov/vuln/detail/CVE-2026-135294 advisory