Read the docs

Use-after-free in GNU LibreDWG DXF import leaks heap memory

Priority LOW 30CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

GNU LibreDWG from 0.14 before 0.15 contains a use-after-free flaw (CWE-416) in the DXF import code, where an OLE2FRAME entity keeps a pointer to memory that was already freed. A local user needs to get a crafted DXF file opened, and user interaction is required, to crash dxfwrite or similar applications and leak freed heap contents into exported output.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

Description from the CNA

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.

Why it matters now

EPSS 0.00206 5th percentileScored 2026-11-30
Fix Fixed LibreDWG (GNU): 0.15

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GNULibreDWG0.14 to before 0.150.15Patch availableCNA
  • LibreDWG VendorGNU Affected 0.14 to before 0.15 Fixed in 0.15 Patch available CNA

Remediation

Upgrade GNU LibreDWG to version 0.15 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

  • Fix · CNA LibreDWG (GNU) Fixed in 0.15

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138381
  2. 2026-11-29 Alias added: GHSA-m593-3c69-9p5q

References

  • TI-2026-19388 Authentication bypass in GNU Inetutils telnetd via USER variable KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05975 GNU Bash environment variable parsing flaw lets attackers write files KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05157 Code execution in GNU Bash through crafted environment variables KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05164 Command injection in GNU Bash via crafted environment variables KEVCVSS 3.1HIGH 8.8
  • TI-2023-04522 Buffer overflow in glibc ld.so allows privilege escalation KEVCVSS 3.1HIGH 7.8
  • TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
See all 1287 →

Sources