Unsafe search pathin GNU C Library glibc.
Proof of concept public (GitHub).
Untrusted LD_LIBRARY_PATH environment variable vulnerability in the GNU C Library version 2.27 to 2.38 allows attacker controlled loading of dynamically shared library in statically compiled setuid binaries that call dlopen (including internal dlopen calls after setlocale or calls to NSS functions such as getaddrinfo).
- Upgrade glibc to 2.39 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 May 2025CVE ID reserved by glibc.
- 16 May 2025Published in the CVE List.
- 9 Jan 2026First public proof of concept on GitHub.
- 26 Feb 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other glibc vulnerabilities
Same weakness: Untrusted search path
Patchminder. CVE-2025-4802: Unsafe search path in GNU C Library glibc. https://patchminder.com/cve/cve-2025-4802/ (accessed 5 December 2026).