Elevated
LibreCAD heap out-of-bounds write when reading DWG files
CVE-2026-126497
Opening a malicious drawing file can get your PC hacked.
- CVE
- CVE-2026-126497 (opens in a new tab)
- Score
- CVSS 7.8
- Public date
- 2026-11-08
- First seen
Mitigation
Check that you run a LibreCAD version newer than 2.2.1.6, and read the vendor's advisory.
Summary
LibreCAD 2.2.1.6 and earlier have a heap out-of-bounds write flaw in the DWG file reader. Opening a malicious DWG file can crash the program or let code run.
Affected when
Opening a malicious AC1018 (R2004) DWG file
2 other Incidents of this product in the last 30 days
Incidents by product: LibreCAD
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)librecad · not fixed yet
- Debian 12 (bookworm)librecad · not fixed yet
Sources: Debian Security Tracker
Read the write-up · github.com (opens in a new tab)
- Write-up: github.com (opens in a new tab)
- Write-up: vulncheck.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)
- Repository: zeetee1235/CVE-2026-126497 (opens in a new tab)