Calling wordexp with WRDE_REUSE in conjunction with WRDE_APPEND in the GNU C Library version 2.0 to version 2.42 may cause the interface to return uninitialized memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.
History

Tue, 20 Jan 2026 13:45:00 +0000

Type Values Removed Values Added
Description Calling wordexp with WRDE_REUSE in conjunction with WRDE_APPEND in the GNU C Library version 2.0 to version 2.42 may cause the interface to return uninitialized memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.
Title wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory
Weaknesses CWE-908
References

cve-icon MITRE

Status: PUBLISHED

Assigner: glibc

Published:

Updated: 2026-01-20T13:22:46.495Z

Reserved: 2025-12-29T20:07:29.736Z

Link: CVE-2025-15281

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-20T14:16:07.843

Modified: 2026-01-20T14:16:07.843

Link: CVE-2025-15281

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.