Skip to content
Fencer Vulns
medium 5.5

CVE-2021-45343 json

In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted…

published 2022-01-25 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-32116

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted DXF document.

Patch / fix

  • librecad Debian 14, Debian 13, Debian 12 2.1.3-3

debian advisories DEBIAN-CVE-2021-45343

  • librecad Ubuntu 18.04 LTS 2.1.2-1ubuntu0.1
  • librecad Ubuntu 20.04 LTS 2.1.3-1.2+deb10u1build0.20.04.1
  • librecad Ubuntu 22.04 LTS 2.1.3-3
  • librecad Ubuntu Pro 16.04 LTS 2.0.9-2ubuntu0.1~esm1
  • librecad Ubuntu Pro 18.04 LTS 2.1.2-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-45343

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-45343 updated cvss 6.5

librecad: NULL pointer dereference in the HATCH handling of libdxfrw can lead to DoS via a crafted DXF document

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/LibreCAD/LibreCAD/issues/1468 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.