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 trend (30 days)EPSS over the last 30 days for CVE-2021-21899: held from 0.027 to 0.028.

EPSS over last 30 days · oldest: 0.027 · newest: 0.028 · change: +0.001

Affected products

Weakness classification (CWE)

References

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.