CVE-2026-126497
published high CVSS 4.0 · 8.5LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LibreCAD | — | LibreCAD0 through 2.2.1.6 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecadaarch64 | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecadppc64le | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecads390x | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecadx86_64 | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partsaarch64 | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partsppc64le | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partss390x | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | librecad-partsx86_64 | Advisory build | 2.2.1.6-2.1 | OPENSUSE-SU-2026:12545-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LibreCAD | LibreCAD | 0 through 2.2.1.6 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
5- https://github.com/LibreCAD/LibreCAD
- https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.6/libraries/libdxfrw/src/intern/dwgreader18.cpp#L113-L173
- https://github.com/LibreCAD/LibreCAD/commit/17ba2b273b89cc9c8b6fcf71882e327ccf1eebf6
- https://github.com/LibreCAD/LibreCAD/issues/3256
- VulnCheck Advisory: LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-dwgreader18-parsedatapage
Provider assertions
2VulnCheck · cna
LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via dwgReader18::parseDataPage
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 003f03477d1df286b3b2ac54546f2b988e438e8319805c36bb5911a3c02d6749
- Ingested
- 12 Nov 2026, 19:19:25 UTC
- Source record
- Official CVE record