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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-29T13:24:14.513Z
- Modified: 2026-11-29T13:24:14.513Z
- Weaknesses: CWE-416
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- GNU LibreDWG: from 0.14 before 0.15

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-138381](https://www.cve.org/CVERecord?id=CVE-2026-138381), CVE Terms of Use, modified 2026-11-29

---

Page: https://cve.day/CVE-2026-138381 · Whole record: https://cve.day/CVE-2026-138381.json · Rebuilt by cve.day 2026-11-29T13:32:21.464Z
