Description
A code execution vulnerability exists in the dwgCompressor::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | LibreCAD | LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | librecad | 2.1.3-2 | — |
| Debian 13 | librecad | 2.1.3-2 | — |
| Debian 12 | librecad | 2.1.3-2 | — |
| Debian 11 | librecad | 2.1.3-1.3+deb11u1 | DSA-5077-1 |
| Debian 10 | librecad | 2.1.3-1.2+deb10u1 | DSA-5077-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | librecad | 2.1.2-1+deb9u2 | DLA-2838-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | librecad | 2.1.3-3 | — |
| Ubuntu 20.04 LTS | librecad | 2.1.3-1.2+deb10u1build0.20.04.1 | USN-5957-1 |
| Ubuntu 18.04 LTS | librecad | 2.1.2-1ubuntu0.1 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | librecad | 2.1.2-1ubuntu0.1~esm1 | USN-5957-1 |
| Ubuntu Pro 16.04 LTS | librecad | 2.0.9-2ubuntu0.1~esm1 | USN-5957-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP3 | libdxfrw | 1.0.1+git.20220109-bp153.2.3.1 | openSUSE-SU-2022:0067-1 |
| SUSE Package Hub 15 SP3 | librecad | 2.2.0~rc3-bp153.2.3.1 | openSUSE-SU-2022:0067-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | libdxfrw | 1.0.1+git.20220109-bp153.2.3.1 | openSUSE-SU-2022:0067-1 |
| openSUSE Leap 15.3 | librecad | 2.2.0~rc3-bp153.2.3.1 | openSUSE-SU-2022:0067-1 |
Advisories 4
- USN-5957-1 librecad vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5077-1 librecad - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2838-1 librecad - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2022:0067-1 Security update for libdxfrw, librecad SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1349
- FEDORA-2021-fa9e3c23f2 vendor-advisory
- FEDORA-2021-67c946a9f3 vendor-advisory
- [debian-lts-announce] 20211203 [SECURITY] [DLA 2838-1] librecad security update mailing-list
- DSA-5077 vendor-advisory
- GLSA-202305-26 vendor-advisory