Buffer overflow in Librecad Libdxfrw
CVE-2021-21899
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.
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.028 (85.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.028 · change: +0.001
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-1350 (Exploit, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.debian.org/debian-lts-announce/2021/12/msg00002.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2022/dsa-5077 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202305-26 (vendor-advisory)
Frequently asked questions
- What is CVE-2021-21899?
- CVE-2021-21899 is a high-severity vulnerability in Librecad Libdxfrw, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.8/10. Published 2021-11-19.
- How severe is CVE-2021-21899?
- High severity. CVSS v3 base score is 8.8 out of 10.