CVE-2026-135294
LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-787 |
| Vendor | librecad |
| Product | librecad |
| Published | Nov 23, 2026 |
| Last Updated | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for librecad librecad
Be the first to know when new medium vulnerabilities affecting librecad librecad are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Affected Versions
LibreCAD / LibreCAD
0 โค 2.2.1.6
References
github.com: https://github.com/LibreCAD/LibreCAD/pull/3287 github.com: https://github.com/LibreCAD/LibreCAD/commit/4e51048ee7ae82e553e739b3bba82d5fa89698e1 github.com: https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/librecad/src/lib/filters/rs_filterdxf1.cpp#L1827-L1850 vulncheck.com: https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-rs-filterdxf1-readfileinbuffer
Credits
Lee Keon-Hyeong Shin Dong-Hoon