CVE-2026-126497 LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage
HighCVSS 8.5
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/librecad(Debian 12) | = 2.2.0-1; = 2.2.0.2-1; = 2.2.0.2-2; = 2.2.0.2-3 +1 more | No fix listed | No fix yet |
| debian/librecad(Debian 13) | = 2.2.0.2-1; = 2.2.0.2-2; = 2.2.0.2-3; All versions | No fix listed | No fix yet |
| debian/librecad(Debian 14) | = 2.2.0.2-1; = 2.2.0.2-2; = 2.2.0.2-3; All versions | No fix listed | No fix yet |
| ubuntu/librecad(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/librecad(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/librecad(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/librecad(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| librecad/librecad | <= 2.2.1.6 | after 2.2.1.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| librecad/librecad | <= 2.2.1.6 | No fix listed |
| debian/librecad(Debian:12) | All versions | No fix listed |
| debian/librecad(Debian:12) | = 2.2.0-1 | No fix listed |
| debian/librecad(Debian:12) | = 2.2.0.2-1 | No fix listed |
| debian/librecad(Debian:12) | = 2.2.0.2-2 | No fix listed |
| debian/librecad(Debian:12) | = 2.2.0.2-3 | No fix listed |
| debian/librecad(Debian:13) | All versions | No fix listed |
| debian/librecad(Debian:13) | = 2.2.0.2-1 | No fix listed |
| debian/librecad(Debian:13) | = 2.2.0.2-2 | No fix listed |
| debian/librecad(Debian:13) | = 2.2.0.2-3 | No fix listed |
| debian/librecad(Debian:14) | All versions | No fix listed |
| debian/librecad(Debian:14) | = 2.2.0.2-1 | No fix listed |
| debian/librecad(Debian:14) | = 2.2.0.2-2 | No fix listed |
| debian/librecad(Debian:14) | = 2.2.0.2-3 | No fix listed |
| ubuntu/librecad(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/librecad(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/librecad(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/librecad(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2026-126497 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2571412 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com technical-description
- github.com patch
- github.com issue-tracking
- VulnCheck Advisory: LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-123062 third-party-advisory