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.
https://www.debian.org/security/2022/dsa-5077
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1350
https://security.gentoo.org/glsa/202305-26
https://lists.debian.org/debian-lts-announce/2021/12/msg00002.html