Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2025-4802 EUVD-2025-15553GHSA-8mm9-c4mg-vfjh

Untrusted LD_LIBRARY_PATH environment variable vulnerability in the GNU C Library version 2.27 to 2.38 allows attacker controlled loading o…

Published May 16, 2025 · Updated Feb 26, 2026 · Assigned by glibc

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

VendorProductAffectedFixed
The GNU C Library glibc 2.27 – < 2.39 2.39

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.39-4 —
Debian 13 glibc 2.39-4 —
Debian 12 glibc 2.36-9+deb12u11 —
Debian 11 glibc 2.31-13+deb11u13 DLA-4181-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS glibc 2.35-0ubuntu3.10 USN-7541-1
Ubuntu 20.04 LTS glibc 2.31-0ubuntu9.18 USN-7541-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS glibc 2.27-3ubuntu1.6+esm5 USN-7541-1
ReleasePackageFixed inAdvisory
RHEL 9 nscd +214 2.34-168.el9_6.19 RHSA-2025:8655
RHEL 8 nscd +213 2.28-251.el8_10.22 RHSA-2025:8686
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS nscd +214 2.34-100.el9_4.12 RHSA-2025:9336
RHEL 7.7 AUS nscd +7 2.17-292.el7_7.3 RHSA-2025:10220
RHEL 7 ELS nscd +7 2.17-326.el7_9.5 RHSA-2025:10219

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nscd +214 2.34-168.el9_6.19 ALSA-2025:8655
AlmaLinux 8 nscd +213 2.28-251.el8_10.22 ALSA-2025:8686

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 glibc 2.34-168.el9_6.19 RLSA-2025:8655
Rocky Linux 8 glibc 2.28-251.el8_10.22 RLSA-2025:8686
ReleasePackageFixed inAdvisory
SLES 15 SP7 glibc 2.38-150600.14.32.1 SUSE-SU-2025:01702-2
SLES 15 SP6 glibc 2.38-150600.14.32.1 SUSE-SU-2025:01702-1
SLES 15 SP5 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLES 15 SP4 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLES 15 SP3 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLES for SAP 15 SP4 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLES for SAP 15 SP3 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE Micro 6.1 glibc 2.38-slfo.1.1_4.1 SUSE-SU-2025:20361-1
SLE Micro 6.0 glibc 2.38-9.1 SUSE-SU-2025:20332-1
SLE Micro 5.5 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE Micro 5.4 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE Micro 5.3 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE Micro 5.2 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE Micro 5.1 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE HPC 15 SP5 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE HPC 15 SP4 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SLE HPC 15 SP3 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SUSE Manager Server 4.3 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SUSE Manager Proxy 4.3 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
SUSE Enterprise Storage 7.1 glibc 2.31-150300.95.1 SUSE-SU-2025:01784-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.41-3.1 openSUSE-SU-2025:15222-1
openSUSE Tumbleweed kumactl 2.12.3-1.1 openSUSE-SU-2025:15697-1
openSUSE Leap 15.6 glibc 2.38-150600.14.32.1 SUSE-SU-2025:01702-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nscd +217 2.34-196.amzn2023.0.1 ALAS2023-2025-1001

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc 2.38-14 —
Azure Linux 2 (CBL-Mariner) glibc No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nscd +214 2.34-168.0.1.el9_6.19 ELSA-2025-8655
Oracle Linux 8 nscd +213 2.28-251.0.3.el8_10.22 ELSA-2025-8686
Oracle Linux 7 nscd +6 2.17-326.0.11.el7_9.3 ELSA-2025-10219

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 27

References