LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in the bundled libdxfrw
Affects librecadSource GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 13 Nov 2026, 22:22 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10librecadpkg:deb/ubuntu/librecad?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibrecadpkg:deb/ubuntu/librecad?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibrecadpkg:deb/ubuntu/librecad?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibrecadpkg:deb/ubuntu/librecad?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibrecadpkg:deb/ubuntu/librecad?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibrecadpkg:deb/ubuntu/librecad?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid opening untrusted or suspicious AC1018 (R2004) DWG files with affected LibreCAD versions.
Description
LibreCAD versions through 2.2.1.6 contain a heap-based out-of-bounds write vulnerability in the bundled libdxfrw library's dwgReader18::parseDataPage() function. This flaw arises from unchecked buffer sizes and page offsets when processing AC1018 (R2004) DWG files. An attacker can craft a malicious DWG file with specially designed startOffset values that cause the decompress18 function to write beyond the allocated heap buffer, potentially leading to application crashes and code execution.
References
- ubuntu.com/security/CVE-2026-126497 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-126497 (opens in a new tab)
- github.com/LibreCAD/LibreCAD/issues/3256 (opens in a new tab)
- github.com/LibreCAD/LibreCAD (opens in a new tab)
- github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/libraries/libdxfrw/src/intern/dwgreader18.cpp (opens in a new tab)
- github.com/LibreCAD/LibreCAD/commit/17ba2b273b89cc9c8b6fcf71882e327ccf1eebf6 (opens in a new tab)
- vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-dwgreader18-parsedatapage (opens in a new tab)