
Catálogo de CVE
CVE-2026-126497
librecad affected and fixed versions
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.
- Gravedad
- High · CVSS 4.0 · 8.5
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.28% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Opensusetumbleweed | librecad | 2.2.1.6-2.1 | Fixed | [OPENSUSE-SU-2026:12545-1] |
| Debiansid | librecad | 2.2.1.6-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126497] |
| Debianforky | librecad | 2.2.1.6-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126497] |
More observations (21)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | librecad | Not reported | AffectedDistribution reports no fix | [CVE-2026-126497] |
| Debianbookworm | librecad | 2.2.0-1 | Affected | [CVE-2026-126497] |
| Debiantrixie | librecad | Not reported | AffectedDistribution reports no fix | [CVE-2026-126497] |
| Debiantrixie | librecad | 2.2.0.2-1 | Affected | [CVE-2026-126497] |
| Ubuntu20.04 | librecad | 2.1.3-1.2 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu20.04 | librecad | 2.1.3-1.2+deb10u1build0.20.04.1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu20.04 | librecad | 2.1.3-1.2build1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu22.04 | librecad | 2.1.3-1.3 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu22.04 | librecad | 2.1.3-3 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu24.04 | librecad | 2.2.0-1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu24.04 | librecad | 2.2.0.2-1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu24.04 | librecad | 2.2.0.2-1build1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu24.04 | librecad | 2.2.0.2-1build2 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu24.04 | librecad | 2.2.0.2-1build3 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu26.04 | librecad | 2.2.0.2-1build3 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu26.10 | librecad | 2.2.0.2-1build3 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntu26.10 | librecad | 2.2.0.2-3 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntupro | librecad | 2.1.2-1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntupro | librecad | 2.1.2-1ubuntu0.1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntupro | librecad | 2.1.2-1ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-126497] |
| Ubuntupro | librecad | 2.1.2-1ubuntu0.1~esm2 | Affected | [UBUNTU-CVE-2026-126497] |
Publisher notes
[trixie] librecad: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librecad]Afectada
Detalles (2)
2.2.0-1· amd64 · bookwormAfectada
dsa · librecad · debian · bookworm; pypi · librecad · debian · 12
2.2.0-1· arm64 · bookwormAfectada
dsa · librecad · debian · bookworm; pypi · librecad · debian · 12
- [librecad-data]Afectada
Paquete fuente: [librecad]
Detalles (2)
2.2.0-1· all · bookwormAfectada
dsa · librecad · debian · bookworm; pypi · librecad · debian · 12
2.2.0-1· all · bookwormAfectada
dsa · librecad · debian · bookworm; pypi · librecad · debian · 12
[Debian 13 (Trixie)]
- [librecad]Afectada
Paquete fuente: [librecad]
Detalles (2)
2.2.0.2-1+b1· amd64 · trixieAfectada
pypi · librecad · debian · 13
2.2.0.2-1+b2· arm64 · trixieAfectada
pypi · librecad · debian · 13
- [librecad-data]Afectada
Paquete fuente: [librecad]
Detalles (2)
2.2.0.2-1· all · trixieAfectada
pypi · librecad · debian · 13
2.2.0.2-1· all · trixieAfectada
pypi · librecad · debian · 13
[openSUSE Tumbleweed]
- [librecad]Afectada
Paquete fuente: [librecad]
Detalles (1)
2.2.1.3-1.5· x86_64 · tumbleweedAfectada · Corregida:
2.2.1.6-2.1pypi · librecad · opensuse · tumbleweed
- [librecad-parts]Desconocido
Paquete fuente: [librecad]
Detalles (1)
2.2.1.3-1.5· noarch · tumbleweedDesconocido · Corregida:
2.2.1.6-2.1Version impact unknown
pypi · librecad · opensuse · tumbleweed
Observado:
Referencias
- [https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12545-1.json]
- [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]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-126497]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-126497]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-126497]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12545-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-126497]
- [https://www.vulncheck.com/advisories/librecad-through-2.2.1.6-heap-out-of-bounds-write-via-dwgreader18-parsedatapage]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]