# CVE-2026-126497: LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-11-11T00:58:50.339Z
- Modified: 2026-11-12T20:18:31.907Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in the bundled libdxfrw dwgReader18::parseDataPage() function due to unchecked buffer size and page offsets. Attackers can craft an AC1018 (R2004) DWG file with malicious startOffset values that cause decompress18 to write past the heap buffer when opened, causing crashes and potential code execution.

(As written by CVE List.)

## Affected

- LibreCAD LibreCAD: up to 2.2.1.6

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/LibreCAD/LibreCAD/issues/3256> (issue-tracking)
- <https://github.com/LibreCAD/LibreCAD/commit/17ba2b273b89cc9c8b6fcf71882e327ccf1eebf6> (patch)
- <https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/libraries/libdxfrw/src/intern/dwgreader18.cpp#L113-L173> (technical-description)
- <https://github.com/LibreCAD/LibreCAD> (product)
- <https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-dwgreader18-parsedatapage> (third-party-advisory)

## Sources

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

---

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