JLSEC-2026-2258: Calling wordexp with WRDE_REUSE in conjunction with WRDE_APPEND in the GNU C Library version 2.0...
Calling wordexp with WRDEREUSE in conjunction with WRDEAPPEND in the GNU C Library version 2.0 to version 2.42 may cause the interface to return uninitialized memory in the wewordv member, which on subsequent calls to wordfree may abort the process.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required to trigger the issue?
An application must call wordexp with WRDE_REUSE together with WRDE_APPEND, and then make a subsequent call to wordfree. The problematic combination can leave uninitialized memory in the we_wordv member and cause the process to abort.
What is the practical impact?
The described impact is denial of service: wordfree may abort the process after the affected wordexp usage. The provided vector indicates network reachability, low attack complexity, no required privileges, and no user interaction, but exploitation still depends on application code using the affected flags.
Which versions are affected?
GNU C Library versions 2.0 through 2.42 are identified as affected. The listed software entry is julia/gccbootstrap_jll.
What can be done before an update is available?
Avoid combining WRDE_REUSE and WRDE_APPEND in calls to wordexp. Review code paths that use wordexp and ensure that affected result structures are not subsequently passed to wordfree after that flag combination.