Vulnerability · Published Nov 19, 2021 · Assigned by talos
CVE-2021-21900
High 8.8
In plain English
A high-severity use-after-free in LibreCAD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)8.8High
Exploit odds (30 days)2.5%top 15.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A code execution vulnerability exists in the dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dxf file can lead to a use-after-free vulnerability. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | librecad | 2.1.3-2 | DEBIAN-CVE-2021-21900 |
| Debian:13 | librecad | 2.1.3-2 | DEBIAN-CVE-2021-21900 |
| Debian:14 | librecad | 2.1.3-2 | DEBIAN-CVE-2021-21900 |
| Ubuntu:24.04:LTS | librecad | no fix listed | UBUNTU-CVE-2021-21900 |
| Ubuntu:25.10 | librecad | no fix listed | UBUNTU-CVE-2021-21900 |
| Ubuntu:26.04:LTS | librecad | no fix listed | UBUNTU-CVE-2021-21900 |
| Ubuntu:26.10 | librecad | no fix listed | UBUNTU-CVE-2021-21900 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1351
- 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