CVE catalog

CVE-2021-21899

librecad: CVE-2021-21899

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.76% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibrecadsid2.2.0.2-3fixed
Debianlibrecadforky2.2.0.2-3fixed
Debianlibrecadtrixie2.2.0.2-1fixed
Debianlibrecadbookworm2.2.0-1fixed
Ubuntulibrecadpro2.1.2-1vulnerable
Ubuntulibrecadpro2.1.2-1ubuntu0.1~esm1fixed
Ubuntulibrecad18.042.1.2-1vulnerable
Ubuntulibrecad18.042.1.2-1ubuntu0.1fixed
Ubuntulibrecad20.042.1.3-1.2vulnerable
Ubuntulibrecad20.042.1.3-1.2build1vulnerable
Ubuntulibrecad20.042.1.3-1.2+deb10u1build0.20.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibrecadsourcesid2.1.3-2not yet assignedNot reportedNot reported
Debianlibrecadsourceforky2.1.3-2not yet assignedNot reportedNot reported
Debianlibrecadsourcetrixie2.1.3-2not yet assignedNot reportedNot reported
Debianlibrecadsourcebookworm2.1.3-2not yet assignedNot reportedNot reported
Ubuntulibrecaddebpro2.1.2-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-21899Not reported
Ubuntulibrecaddeb18.042.1.2-1ubuntu0.1Not reportedUBUNTU-CVE-2021-21899Not reported
Ubuntulibrecaddeb20.042.1.3-1.2+deb10u1build0.20.04.1Not reportedUBUNTU-CVE-2021-21899Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [librecad]Fixed
    Details (2)
    • 2.2.0-1 · amd64 · bookworm

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · bookworm; dsa · librecad · debian · 12

    • 2.2.0-1 · arm64 · bookworm

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · bookworm; dsa · librecad · debian · 12

  • Source package: [librecad]

    Details (2)
    • 2.2.0-1 · all · bookworm

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · bookworm; dsa · librecad · debian · 12

    • 2.2.0-1 · all · bookworm

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · bookworm; dsa · librecad · debian · 12

[Debian 13 (Trixie)]

  • [librecad]Fixed

    Source package: [librecad]

    Details (2)
    • 2.2.0.2-1+b1 · amd64 · trixie

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · 13

    • 2.2.0.2-1+b2 · arm64 · trixie

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · 13

  • Source package: [librecad]

    Details (2)
    • 2.2.0.2-1 · all · trixie

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · 13

    • 2.2.0.2-1 · all · trixie

      Fixed · Fixed: 2.1.3-2

      dsa · librecad · debian · 13

Observed:

References