MEDIUM · CVSS 6.1 Published: 2026-11-29
CVE-2026-138381 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-138381 |
|---|---|
| Base Severity / Score | MEDIUM (6.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| Weakness Classification | CWE-416 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/LibreDWG/libredwg/blob/4f2aef33865e0d5bf3774acc439953fba15dea3e/src/out_dxf.c#L1405-L1417
- https://github.com/LibreDWG/libredwg/commit/2ecc5d0d79df346d632dd7f975ca7463f8fce4c2
- https://github.com/LibreDWG/libredwg/releases/tag/0.15
- https://github.com/LibreDWG/libredwg/security/advisories/GHSA-c6r9-crw2-jcq3
- https://www.vulncheck.com/advisories/gnu-libredwg-0.14-before-0.15-use-after-free-via-ole2frame-dxf-import
Related Security Advisories
CVE-2026-138380 MEDIUM 6.1
CVE-2026-138278 CRITICAL 10
CVE-2026-138379 MEDIUM 5.3
CVE-2026-138281 MEDIUM 6.5
CVE-2026-138283 MEDIUM 5.3
CVE-2026-138383 MEDIUM 4.3
CVE-2026-138292 MEDIUM 4.2