Vulnerability · Published Nov 19, 2021 · Assigned by talos

CVE-2021-21899

High 8.8

In plain English

A high-severity memory corruption 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.8% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)8.8High
Exploit odds (30 days)2.8%top 13.7% 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 dwgCompressor::copyCompBytes21 functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12librecad2.1.3-2DEBIAN-CVE-2021-21899
Debian:13librecad2.1.3-2DEBIAN-CVE-2021-21899
Debian:14librecad2.1.3-2DEBIAN-CVE-2021-21899

Affected products (as reported)

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

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

References