Use-after-free in LibreDWG - #VU170873
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 to add drawing entities.
The vulnerability exists due to a heap use-after-free in the public entity-addition API when an object insertion reallocates the drawing's object array and the API dereferences a stale pointer. A remote attacker can induce a user to process a crafted script with dwgadd or add an affected entity to a crafted drawing to crash the application.