# CVE-2026-135294: LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-23T16:57:44.488Z
- Modified: 2026-11-23T19:17:35.817Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- LibreCAD LibreCAD: up to 2.2.1.6

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://github.com/LibreCAD/LibreCAD/pull/3287> (issue-tracking, patch)
- <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)

## Sources

- CVE List: [CVE-2026-135294](https://www.cve.org/CVERecord?id=CVE-2026-135294), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-135294](https://nvd.nist.gov/vuln/detail/CVE-2026-135294), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-135294 · Whole record: https://cve.day/CVE-2026-135294.json · Rebuilt by cve.day 2026-11-25T22:59:52.676Z
