GNU LibreDWG 0.14 before 0.15 contains a heap use-after-free vulnerability in in_dxf.c new_object() where the OLE2FRAME oleclient pointer references freed memory after DXF import. Attackers can supply a DXF file with an OLE2FRAME entity to crash dxfwrite or similar applications and leak freed heap contents into exported output.
https://github.com/LibreDWG/libredwg/security/advisories/GHSA-c6r9-crw2-jcq3
https://github.com/LibreDWG/libredwg/releases/tag/0.15
https://github.com/LibreDWG/libredwg/commit/2ecc5d0d79df346d632dd7f975ca7463f8fce4c2