# CVE-2026-138381: GNU LibreDWG 0.14 before 0.15 Use-After-Free via OLE2FRAME DXF Import

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-29 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-138381 · JSON: https://cvemate.com/vulnerability/CVE-2026-138381/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.411%, percentile 37.403%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gnu libredwg: ≥ 0.14, \< 0.15

## References

- <https://github.com/LibreDWG/libredwg/security/advisories/GHSA-c6r9-crw2-jcq3>
- <https://github.com/LibreDWG/libredwg/commit/2ecc5d0d79df346d632dd7f975ca7463f8fce4c2>
- <https://github.com/LibreDWG/libredwg/blob/4f2aef33865e0d5bf3774acc439953fba15dea3e/src/out_dxf.c#L1405-L1417>
- <https://github.com/LibreDWG/libredwg/releases/tag/0.15>
- <https://www.vulncheck.com/advisories/gnu-libredwg-0.14-before-0.15-use-after-free-via-ole2frame-dxf-import>

---

Data as of 2026-12-05T03:00:26.467Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
