Double free in LibreDWG - #VU170872
Published: November 29, 2026
Vulnerability details
The vulnerability allows a remote attacker to crash the importing application and potentially corrupt its heap, depending on the allocator.
The vulnerability exists due to a double free in add_ent_preview() when the DXF importer retains a stale pointer after releasing an entity preview buffer while processing empty preview data. A remote attacker can trick a user into opening a crafted DXF file to trigger a second free during subsequent preview processing or drawing cleanup.