CVE-2021-21900 json
A code execution vulnerability exists in the dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580.
published 2021-11-19 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-9071
- cvss
- 8.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- librecad Debian 14, Debian 13, Debian 12 2.1.3-2
debian advisories DEBIAN-CVE-2021-21900
- librecad Ubuntu 18.04 LTS 2.1.2-1ubuntu0.1
- librecad Ubuntu 20.04 LTS 2.1.3-1.2+deb10u1build0.20.04.1
- librecad Ubuntu Pro 16.04 LTS 2.0.9-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2021-21900
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- librecad Package Hub 15 SP3, openSUSE Leap 15.3 2.2.0~rc3-bp153.2.3.1
- libdxfrw Package Hub 15 SP3, openSUSE Leap 15.3 1.0.1+git.20220109-bp153.2.3.1
opensuse advisories openSUSE-SU-2022:0067-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-21900 updated cvss 8.8
librecad: use-after-free in dxfRW:processLType()
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.54% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- talosintelligence.com https://talosintelligence.com/vulnerability_reports/TALOS-2021-1351 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a LibreCAD
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
talosintelligence.com
/vulnerability_reports/TALOS-2021-1351
broken-link, exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RDI3HCTCACMIC7I4ILB3NRU6DCMADI5H/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZTIAMP7QJDKV4ADDLR4GVVX2TXYLHVOZ/
vendor-advisory
-
debian.org
/security/2022/dsa-5077
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202305-26
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2021/12/msg00002.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-21900
- NVD CVE-2021-21900
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.