CVE-2025-15281

wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory

State
Published
Severity
7.5 High
Published
Jan 20, 2026
Updated
Jan 22, 2026
Reserved
Dec 29, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
glibcThe GNU C Library
  • 2.0 through 2.42Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.