CVE-2025-15281CWE-908

wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory

High · published January 20, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
41.3
In the wild
Unconfirmed
What it is

⚡ Uninitialized memory is lurking in the GNU C Library, ready to pounce when you call wordexp with WRDE_REUSE and WRDE_APPEND! This could lead your app to crash unexpectedly. 🚨 Think of it like a restaurant where the chef keeps reusing pots without washing them — you might end up serving spoiled ingredients, leading to a disastrous dining experience! If an attacker manages to exploit this issue, they could end up accessing uninitialized memory, leading to unpredictable behavior, including potential crashes or data corruption. This could compromise the stability of any application relying on this library, making it a significant concern for developers!

Put simply

Think of it like a restaurant where the chef keeps reusing pots without washing them — you might end up serving spoiled ingredients, leading to a disastrous dining experience! This vulnerability arises when calling the wordexp function with WRDE_REUSE and WRDE_APPEND flags in GNU C Library versions 2.0 to 2.42, causing the we_wordv member to return uninitialized memory, which can result in an abort when wordfree is called. This behavior could be manipulated to disrupt normal application flow.

What to do

If an attacker manages to exploit this issue, they could end up accessing uninitialized memory, leading to unpredictable behavior, including potential crashes or data corruption. This could compromise the stability of any application relying on this library, making it a significant concern for developers! To mitigate this issue, update your GNU C Library to a version later than 2.42, where this vulnerability is addressed. Additionally, review your code to ensure proper memory management practices are followed, avoiding reliance on uninitialized memory. You've got this! Update your libraries and keep your applications running smoothly! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00491 · 41.3th percentile
Weakness
CWE-908 · Use of Uninitialized Resource
Published
2026-01-20T13:22Z
EPSS history
Timeline
  • 20 JAN 13:22Z
    wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory
    cvelistv5