CVE-2026-138381

GNU LibreDWG 0.14 before 0.15 Use-After-Free via OLE2FRAME DXF Import

Published Nov 29, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

GNU LibreDWG 0.14 and earlier versions contain a heap use‑after‑free vulnerability in the DXF import routine, where an OLE2FRAME entity’s oleclient pointer refers to freed memory. A crafted DXF file can cause applications such as dxfwrite to crash and, in the process, expose the contents of the freed heap to the exported output. This results in the application becoming unavailable and the possibility of leaking sensitive data, but there is no evidence of remote code execution. The CVSS score of 6.9 indicates a medium‑severity risk.

Affected Systems

The affected product is the GNU LibreDWG library, specifically version 0.14 and all releases earlier than 0.15. No sub‑version details are provided. There are no known workarounds or alternative patch paths, so the only mitigation is to update the library.

Risk and Exploitability

The vulnerability can be abused through the import of a malicious DXF file, which may be supplied locally or potentially over a network if the application processes files from untrusted external sources. The CVE description does not explicitly state the attack vector; it is inferred from the context that the file must be presented to the library. The EPSS score is not available, and the issue is not listed in any known exploited vulnerabilities catalog, suggesting no widespread active exploitation. Given the moderate CVSS score, the risk is considered medium but still significant enough to warrant timely patching to prevent denial of service and accidental data disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreDWG to version 0.15 or newer where the use‑after‑free bug is fixed.
  • Validate or sanitize DXF files with a separate tool before they are processed by LibreDWG to avoid malformed input.
  • Run LibreDWG in a sandboxed or restricted environment and limit file permissions to contain any potential heap data exposure.

Generated by OpenCVE AI on November 29, 2026 at 14:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title GNU LibreDWG 0.14 before 0.15 Use-After-Free via OLE2FRAME DXF Import
First Time appeared Gnu
Gnu libredwg
Weaknesses CWE-416
CPEs cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu libredwg
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 29, 2026, 1:24 PM
Reserved
Nov 29, 2026, 1:09 PM
Status
Received
Published
Nov 29, 2026, 2:17 PM
Modified
Nov 29, 2026, 2:17 PM