Description
Calling wordexp with WRDE_APPEND in the GNU C Library version 2.0 to version 2.43 can cause the interface to return invalid memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.
Published: 2026-08-10
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is found in the wordexp function of the GNU C Library. When the WRDE_APPEND flag is used, the function may return an array containing pointers to uninitialized or freed memory. A subsequent call to wordfree on that array can cause the process to abort, resulting in a denial of service. This weakness is classified as CWE‑908 and carries a low CVSS score, indicating limited impact when present.

Affected Systems

The GNU C Library (glibc) versions from 2.0 through 2.43 are affected. Any application that invokes wordexp with the WRDE_APPEND flag while linked against these releases is vulnerable.

Risk and Exploitability

The CVSS score of 2.1 reflects moderate risk. EPSS information is unavailable and the issue is not listed in the CISA KEV catalog. Because the flaw requires the attacker to cause the target program to call wordexp with the WRDE_APPEND option, exploitation is most likely local or requires privileged code execution. Remote exploitation through this interface is unlikely, but if an application exposed such a call to an untrusted user, denial of service could result.

Generated by OpenCVE AI on August 10, 2026 at 20:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update glibc to a version that includes the fix (e.g., 2.44 or later).
  • Refactor or remove calls to wordexp that use the WRDE_APPEND flag in all affected applications.
  • Add validation logic to verify that the we_wordv array returned by wordexp points to valid, allocated memory before calling wordfree.

Generated by OpenCVE AI on August 10, 2026 at 20:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Description Calling wordexp with WRDE_APPEND in the GNU C Library version 2.0 to version 2.43 can cause the interface to return invalid memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.
Title wordexp with WRDE_APPEND can return or use invalid memory
Weaknesses CWE-908
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:P/AU:Y/U:Green'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: glibc

Published:

Updated: 2026-08-10T18:40:11.601Z

Reserved: 2026-04-15T15:07:08.926Z

Link: CVE-2026-6368

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:45:05Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource