What’s Vulnerable › Vulnerabilities

CVE-2025-15281: wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory

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.

Affected products

How to fix

Upgrade to a fixed version: GNU C Library (glibc) 2.43. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-15281 or the next vulnerability affects your stack