CVE-2021-21898: Buffer Overflow

Published Nov 19, 2021
·
Updated

A code execution vulnerability exists in the dwgCompressor::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. 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
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35

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-21898?

CVE-2021-21898 is classified as a code execution vulnerability with high severity due to its potential to lead to out-of-bounds writes.

2

How do I fix CVE-2021-21898?

To fix CVE-2021-21898, upgrade to LibreCad libdxfrw versions 2.1.3-1.2+deb10u1, 2.1.3-1.3+deb11u1, or 2.2.0-1.

3

Which software is affected by CVE-2021-21898?

CVE-2021-21898 affects LibreCad libdxfrw version 2.2.0-rc2-19-ge02f3580 as well as specific versions of Debian and Fedora.

4

What type of vulnerability is CVE-2021-21898?

CVE-2021-21898 is a code execution vulnerability that can be triggered by maliciously crafted .dwg files.

5

What can an attacker achieve with CVE-2021-21898?

An attacker can exploit CVE-2021-21898 to execute arbitrary code on a victim's system via the vulnerable LibreCad software.

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