{"id":"CVE-2026-135294","summary":"LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()","details":"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.","modified":"2026-11-25T11:12:23.677653049Z","published":"2026-11-23T16:57:44.488Z","related":["openSUSE-SU-2026:12665-1"],"database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135294.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135294.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135294"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-rs-filterdxf1-readfileinbuffer"},{"type":"FIX","url":"https://github.com/LibreCAD/LibreCAD/commit/4e51048ee7ae82e553e739b3bba82d5fa89698e1"},{"type":"FIX","url":"https://github.com/LibreCAD/LibreCAD/pull/3287"},{"type":"PACKAGE","url":"https://github.com/LibreCAD/LibreCAD"},{"type":"ARTICLE","url":"https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/librecad/src/lib/filters/rs_filterdxf1.cpp#L1827-L1850"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/librecad/librecad","events":[{"introduced":"0"},{"fixed":"4e51048ee7ae82e553e739b3bba82d5fa89698e1"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"2.2.1.6"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"4e51048ee7ae82e553e739b3bba82d5fa89698e1"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["2.2.2_alpha-latest","latest","2.2.2_alpha1","2.2.2-alpha2","2.2.0","2.2.1_alpha","2.2.0-rc4","2.2.0-rc3","2.2.0-rc2","2.2.0-rc1","2.1.0-alpha","2.0.6","2.0.0","2.0.0rc3","1.0.0beta5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135294.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}