Skip to content

CVE-2025-4802 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 bi...

HighCVSS 7.8 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known

Description

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).

Affected products

ProductAffected versionsFixed in
cbl-mariner glibc(CBL-Mariner:2.0) < 2.35-8 2.35-8
azure linux glibc(Azure Linux:3.0) All versions No fix listed
azure linux glibc(Azure Linux:3.0) < 2.38-12 2.38-12
Microsoft cbl2 glibc 2.35-10 < 2.35-8 2.35-8
debian/glibc(Debian:12) < 2.36-9+deb12u11 2.36-9+deb12u11
debian/glibc(Debian:12) = 2.36-9 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u1 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u10 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u2 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u3 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u4 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u5 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u6 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u7 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u8 No fix listed
debian/glibc(Debian:12) = 2.36-9+deb12u9 No fix listed
debian/glibc(Debian:13) < 2.39-4 2.39-4
debian/glibc(Debian:14) < 2.39-4 2.39-4
The GNU C Library glibc >= 2.27, < 2.39 2.39
ubuntu/glibc(Ubuntu:22.04) < 2.35-0ubuntu3.10 2.35-0ubuntu3.10
GNU glibc >= 2.27, <= 2.38 No fix listed

References