CVE-2026-138381
Received Received - Intake

Heap Use-After-Free in GNU LibreDWG

Vulnerability report for CVE-2026-138381, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
GNU LibreDWG From 0.14 (inc) to 0.15 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap use-after-free issue in GNU LibreDWG 0.14 before 0.15. It occurs in the new_object() function in in_dxf.c where the OLE2FRAME oleclient pointer references freed memory after DXF import. Attackers can exploit this by providing a malicious DXF file with an OLE2FRAME entity to crash applications like dxfwrite or leak freed heap contents into exported output.

Detection Guidance

To detect this vulnerability, check if your system is running GNU LibreDWG version 0.14 or earlier. Use commands like 'libredwg-version' or inspect package managers for installed versions. Monitor for crashes or memory leaks when processing DXF files containing OLE2FRAME entities.

Impact Analysis

This vulnerability can cause applications processing DXF files to crash or leak sensitive memory contents. It may lead to denial of service when processing malicious files and potentially allow arbitrary code execution in some cases. Users of affected LibreDWG versions risk data integrity issues and application instability.

Mitigation Strategies

Upgrade to GNU LibreDWG version 0.15 or later immediately. Download the latest release from the official repository and verify the GPG signature and SHA256 checksums before installation. Remove or restrict access to applications using vulnerable versions of LibreDWG.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138381. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...