CVE-2021-21899

librecad: A code execution vulnerability exists in the dwgCompressor::copyCompBytes21 functionality of LibreCad libdxfrw 2.2.0-...

CVE-2021-21899 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2021-21899, released November 19, 2021. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0276
86th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
librecad · Debian 12.15 (bookworm) 2.1.3-2 DEBIAN-CVE-2021-21899 Nov 19, 2021
librecad · Debian 13.5 (trixie) 2.1.3-2 DEBIAN-CVE-2021-21899 Nov 19, 2021
librecad · Debian 14 2.1.3-2 DEBIAN-CVE-2021-21899 Nov 19, 2021
librecad · Ubuntu 18.04.6 LTS (bionic) 2.1.2-1ubuntu0.1~esm1 librecad 2.1.2-1ubuntu0.1~esm1 Jan 25, 2022
librecad · Ubuntu 20.04 LTS (focal) 2.1.3-1.2+deb10u1build0.20.04.1 librecad 2.1.3-1.2+deb10u1build0.20.04.1 Jan 25, 2022
librecad-data · Ubuntu 18.04.6 LTS (bionic) 2.1.2-1ubuntu0.1~esm1 librecad-data 2.1.2-1ubuntu0.1~esm1 Jan 25, 2022
librecad-data · Ubuntu 20.04 LTS (focal) 2.1.3-1.2+deb10u1build0.20.04.1 librecad-data 2.1.3-1.2+deb10u1build0.20.04.1 Jan 25, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.