Buffer overflow in Librecad Libdxfrw
CVE-2021-21898
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.026, 85.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Librecad Libdxfrw — versions 2.2.0-rc2-19-ge02f3580
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
- Librecad — versions LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580
Weakness classification (CWE)
References
- talosintelligence.com/vulnerability_reports/TALOS-2021-1349 (Exploit, Third Party Advisory)
- FEDORA-2021-fa9e3c23f2 (vendor-advisory)
- FEDORA-2021-67c946a9f3 (vendor-advisory)
- [debian-lts-announce] 20211203 [SECURITY] [DLA 2838-1] librecad security update (mailing-list, Third Party Advisory)
- DSA-5077 (vendor-advisory, Third Party Advisory)
- GLSA-202305-26 (vendor-advisory)