Vulnerability · Published Nov 19, 2021 · Assigned by talos

CVE-2021-21898

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.6% (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.6%top 14.6% 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::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12librecad2.1.3-2DEBIAN-CVE-2021-21898
Debian:13librecad2.1.3-2DEBIAN-CVE-2021-21898
Debian:14librecad2.1.3-2DEBIAN-CVE-2021-21898
Ubuntu:22.04:LTSlibrecad2.1.3-3UBUNTU-CVE-2021-21898

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