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

EcosystemPackageFixed inAdvisory
Debian:12librecad2.1.3-2DEBIAN-CVE-2021-21900
Debian:13librecad2.1.3-2DEBIAN-CVE-2021-21900
Debian:14librecad2.1.3-2DEBIAN-CVE-2021-21900
Ubuntu:24.04:LTSlibrecadno fix listedUBUNTU-CVE-2021-21900
Ubuntu:25.10librecadno fix listedUBUNTU-CVE-2021-21900
Ubuntu:26.04:LTSlibrecadno fix listedUBUNTU-CVE-2021-21900
Ubuntu:26.10librecadno fix listedUBUNTU-CVE-2021-21900

Affected products (as reported)

VendorProductVersions
n/a LibreCAD LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580

Weakness: CWE-416 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References