Description
In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted DXF document.
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-3 | — |
| Debian 13 | librecad | 2.1.3-3 | — |
| Debian 12 | librecad | 2.1.3-3 | — |
| 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+deb9u3 | DLA-2908-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 |
Advisories 3
- 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-2908-1 librecad - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/LibreCAD/LibreCAD/issues/1468
- FEDORA-2022-08d7ee21f7 vendor-advisory
- DSA-5077 vendor-advisory
- FEDORA-2022-3dd3274ae2 vendor-advisory
- GLSA-202305-26 vendor-advisory