CVE-2021-21899
JSON

8.8high

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

Severity
8.8high CVSS:3.0 by talos
Exploit likelihood
2.76% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
talos

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

Product or packageVersionsReported by
LibreCADLibreCad libdxfrw 2.2.0-rc2-19-ge02f3580CVE List
librecad libdxfrw2.2.0-rc2-19-ge02f3580NVD
fedoraproject fedora34, 35NVD
debian debian_linux9.0, 10.0, 11.0NVD

All scores

talos8.8high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Se presenta una vulnerabilidad de ejecución de código en la funcionalidad dwgCompressor::copyCompBytes21 de LibreCad libdxfrw versión 2.2.0-rc2-19-ge02f3580. Un archivo .dwg especialmente diseñado puede conllevar a un desbordamiento del búfer de la pila. Un atacante puede proporcionar un archivo malicioso para desencadenar esta vulnerabilidad

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21899 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-21899 changed 2026-06-17Public domain