Use-after-free in LibreDWG - #VU170860
Published: November 29, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing an application that uses LibreDWG.
The vulnerability exists due to a heap use-after-free in LibreDWG's polyline creation API when adding polyline elements moves the object array and leaves cached pointers referring to freed memory. A remote attacker can supply a DWG file that a victim converts to pre-R13 DXF or binary DXF, or supply input that a victim's application uses to create polylines through the affected API, to crash the application.