CVE-2026-110606
CVE-2026-110606 · LibreCAD libdxfrw through LC2.2.0 Stack Out-of-Bounds Read via dwgReader18::readFileHeader
This page contains facts from public vulnerability sources. Check the original advisory before updating.
LibreCAD libdxfrw through LC2.2.0 (LibreCAD through 2.2.1.5) contains a stack-based out-of-bounds read vulnerability in dwgReader18::readFileHeader() caused by calling strlen on non-NUL-terminated buffers. Attackers can supply a crafted AC1018, AC1024 or AC1027 DWG file without NUL bytes in the decrypted header to read adjacent stack memory and crash the process.
CVSS 4.8 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
libdxfrw
- Versions
- ≥ 0, ≤ LC2.2.0: Affected (custom)
No fix published
librecad
- Versions
- ≥ 0, ≤ 2.2.1.5: Affected (custom)
No fix published
librecad Debian:12
- Versions
- 2.2.0-1
- 2.2.0.2-1
- 2.2.0.2-2
- 2.2.0.2-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Debian:13
- Versions
- 2.2.0.2-1
- 2.2.0.2-2
- 2.2.0.2-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Debian:14
- Versions
- 2.2.0.2-1
- 2.2.0.2-2
- 2.2.0.2-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:Pro:16.04:LTS
- Versions
- 2.0.4-1build1
- 2.0.8-1
- 2.0.9-2
- 2.0.9-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:Pro:18.04:LTS
- Versions
- 2.1.2-1
- 2.1.2-1ubuntu0.1~esm1
- 2.1.2-1ubuntu0.1~esm2
- 2.1.2-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:20.04:LTS
- Versions
- 2.1.3-1.2
- 2.1.3-1.2build1
- 2.1.3-1.2+deb10u1build0.20.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:22.04:LTS
- Versions
- 2.1.3-1.3
- 2.1.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:24.04:LTS
- Versions
- 2.2.0-1
- 2.2.0.2-1
- 2.2.0.2-1build1
- 2.2.0.2-1build2
- 2.2.0.2-1build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:26.10
- Versions
- 2.2.0.2-1build3
- 2.2.0.2-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librecad Ubuntu:26.04:LTS
- Versions
- 2.2.0.2-1build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/LibreCAD/LibreCAD/issues/2554
- https://hackmd.io/@haind-pwn/libdxfrw-dwg-header-oob-read
- https://github.com/LibreCAD/libdxfrw/blob/LC2.2.0/src/intern/dwgreader18.cpp#L248
- https://github.com/LibreCAD/LibreCAD/blob/v2.2.1.5/libraries/libdxfrw/src/intern/dwgreader18.cpp#L248
- https://github.com/LibreCAD/libdxfrw/commit/0c5595930b20917a40ed7c188475eaca624b8ce9
- https://github.com/LibreCAD/LibreCAD/commit/abd1f4a8e32dbd871c986086227502217200cd4b
- https://www.vulncheck.com/advisories/librecad-libdxfrw-through-lc2-2.0-stack-out-of-bounds-read-via-dwgreader18-readfileheader
- https://nvd.nist.gov/vuln/detail/CVE-2026-110606