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: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the wordexp function of the GNU C Library. When the WRDE_APPEND flag is supplied, the function may populate the we_wordv member with pointers to uninitialized or freed memory. A subsequent call to wordfree on that array can trigger an abort, terminating the process. This weakness is classified as CWE‑908 and CWE‑1341 and its CVSS score of 2.1 indicates a low severity, though it can cause a denial of service when an application crashes.

Affected Systems

The GNU C Library (glibc) versions 2.0 through 2.43 are affected. Any application linked against these releases and that calls wordexp with the WRDE_APPEND flag is vulnerable. This includes system libraries and binaries that rely on glibc for shell-completion or word expansion.

Risk and Exploitability

The CVSS score of 2.1 reflects low severity. The EPSS score of <1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is local or requires privileged code execution; an attacker would need to trigger a vulnerable application to invoke wordexp with the WRDE_APPEND option. Remote exploitation through an exposed interface is unlikely unless an application provides user-controlled input that influences the WRDE_APPEND usage. If achieved, the exploit would lead to a denial of service by aborting the target process.

Generated by OpenCVE AI on August 12, 2026 at 18:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update glibc to a patched release such as 2.44 or later.
  • Refactor or eliminate calls to wordexp that use the WRDE_APPEND flag in all affected applications.
  • Add runtime checks to ensure the we_wordv array returned by wordexp contains only valid memory before passing it to wordfree, or avoid calling wordfree on the result.

Generated by OpenCVE AI on August 12, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Tue, 11 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Gnu
Gnu glibc
Vendors & Products Gnu
Gnu glibc

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: glibc

Published:

Updated: 2026-08-12T18:01:05.410Z

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

Link: CVE-2026-6368

cve-icon Vulnrichment

Updated: 2026-08-12T18:00:54.699Z

cve-icon NVD

Status : Received

Published: 2026-08-10T19:17:30.713

Modified: 2026-08-12T18:18:11.580

Link: CVE-2026-6368

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T18:40:11Z

Links: CVE-2026-6368 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T18:45:07Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle

  • CWE-908

    Use of Uninitialized Resource