Type Confusion in LibreDWG - #VU170862
Published: November 29, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt heap memory, potentially exposing or altering data or crashing the importing process.
The vulnerability exists due to type confusion in dwg_free_variable_type when cleanup trusts a class name that does not match the allocated object's type. A remote attacker can trick a victim into importing a crafted JSON drawing to trigger out-of-bounds reads in object or entity cleanup and an invalid free.