CVE-2021-21899: Buffer Overflow

Published Nov 19, 2021
·
Updated

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.

Affected Software

7 affected componentsFixes available
debian/librecad
2.1.3-1.2+deb10u12.1.3-1.3+deb11u12.2.0-1
LibreCAD libdxfrw=2.2.0-rc2-19-ge02f3580
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

Nov 19, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21899?

CVE-2021-21899 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2021-21899?

To fix CVE-2021-21899, update LibreCad libdxfrw to versions 2.1.3-1.2+deb10u1, 2.1.3-1.3+deb11u1, or 2.2.0-1 as appropriate.

3

Who is affected by CVE-2021-21899?

CVE-2021-21899 affects users of LibreCad libdxfrw version 2.2.0-rc2-19-ge02f3580 and various Debian and Fedora distributions.

4

What could an attacker do with CVE-2021-21899?

An attacker could exploit CVE-2021-21899 by crafting a malicious .dwg file, leading to a heap buffer overflow and potential code execution.

5

What kind of vulnerability is CVE-2021-21899?

CVE-2021-21899 is a code execution vulnerability characterized by a heap buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203