Live threats

All CVEs / Librecad

CVE-2021-21899Librecad Libdxfrw

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Nov 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119, CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libdxfrw.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
librecadlibdxfrw2.2.0-rc2-19-ge02f3580
fedoraprojectfedora34
fedoraprojectfedora35
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.