Buffer overflow in libdxfrw - CVE-2021-21899
Published: June 1, 2022 / Updated: December 19, 2022
libdxfrw
Debian Linux
Gentoo Linux
Fedora
Ubuntu
librecad (Ubuntu package)
libdxfrw
media-gfx/librecad
librecad (Debian package)
librecad
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the system.
The vulnerability exists due to a boundary error in the dwgCompressor::copyCompBytes21 function. A remote attacker can trick the victim into opening a specially crafted .dwg file, trigger heap buffer overflow, and execute arbitrary code on the target system.