CVE-2026-6368 wordexp with WRDE_APPEND can return or use invalid memory
Calling wordexp with WRDE_APPEND in glibc can return invalid memory, causing a process abort during subsequent wordfree calls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-6368?
CVE-2026-6368 is a low-severity memory corruption vulnerability in glibc, published on 10 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Calling wordexp with WRDE_APPEND in the GNU C Library version 2.0 to version 2.43 can cause the interface to return invalid memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.
Weakness: CWE-908
Which versions are affected by CVE-2026-6368?
How do I fix CVE-2026-6368?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-6368 being exploited?
There is no known exploitation of CVE-2026-6368 in the wild and no public exploit code.
Sources
Also known as AZL-95495, BELL-CVE-2026-6368, DEBIAN-CVE-2026-6368, ECHO-1dea-800f-5685, GHSA-cm6j-gmqf-j2cm, MINI-8jj9-cwcg-wpqc and 1 more.