CVE-2025-4802 json
Untrusted LD_LIBRARY_PATH environment variable vulnerability in the GNU C Library version 2.27 to 2.38 allows attacker controlled loading o…
published last yr. modified 4mo ago also EUVD-2025-15553
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- The GNU C Library glibc 2.39
- glibc Debian 12 2.36-9+deb12u11
- glibc Debian 14, Debian 13 2.39-4
debian advisories DEBIAN-CVE-2025-4802
- glibc Ubuntu 20.04 LTS 2.31-0ubuntu9.18
- glibc Ubuntu 22.04 LTS 2.35-0ubuntu3.10
- glibc Ubuntu Pro 18.04 LTS 2.27-3ubuntu1.6+esm5
ubuntu advisories UBUNTU-CVE-2025-4802
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- glibc RHEL 8 2.28-251.el8_10.22
- nscd RHEL 8 2.28-251.el8_10.22
- libnsl RHEL 8 2.28-251.el8_10.22
- nss_db RHEL 8 2.28-251.el8_10.22
- nss_hesiod RHEL 8 2.28-251.el8_10.22
- glibc-utils RHEL 8 2.28-251.el8_10.22
- glibc-common RHEL 8 2.28-251.el8_10.22
- glibc-benchtests RHEL 8 2.28-251.el8_10.22
red hat advisories RHSA-2025:10220RHSA-2025:10219RHSA-2025:9336RHSA-2025:8686RHSA-2025:8655
- glibc SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 2.38-150600.14.32.1
- glibc SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +16 more 2.31-150300.95.1
- glibc Linux Micro 6.1 2.38-slfo.1.1_4.1
- glibc Linux Micro 6.0 2.38-9.1
suse advisories SUSE-SU-2025:01702-2SUSE-SU-2025:01784-1SUSE-SU-2025:20361-1SUSE-SU-2025:01702-1SUSE-SU-2025:20332-1
- kumactl openSUSE Tumbleweed 2.12.3-1.1
- glibc openSUSE Tumbleweed 2.41-3.1
opensuse advisories openSUSE-SU-2025:15697-1openSUSE-SU-2025:15222-1
- glibc AlmaLinux 9 2.34-168.el9_6.19
- nscd AlmaLinux 9 2.34-168.el9_6.19
- libnsl AlmaLinux 9 2.34-168.el9_6.19
- nss_db AlmaLinux 9 2.34-168.el9_6.19
- nss_hesiod AlmaLinux 9 2.34-168.el9_6.19
- glibc-utils AlmaLinux 9 2.34-168.el9_6.19
- glibc-common AlmaLinux 9 2.34-168.el9_6.19
- glibc-benchtests AlmaLinux 9 2.34-168.el9_6.19
almalinux advisories ALSA-2025:8655ALSA-2025:8686
- glibc Rocky Linux 9 2.34-168.el9_6.19
- glibc Rocky Linux 8 2.28-251.el8_10.22
rocky linux advisories RLSA-2025:8655RLSA-2025:8686
Is CVE-2025-4802 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-4802 updated cvss 7.0
glibc: static setuid binary dlopen may incorrectly search LD_LIBRARY_PATH
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8affected: workaround, no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder EUS (v.9.4) nss_db 2.34-100.el9_4.12, nss_hesiod 2.34-100.el9_4.12, glibc-benchtests 2.34-100.el9_4.12fixed: vendor fix RHSA-2025:9336
-
Red Hat Discovery 1.14 discovery 1.14.5-1749654812fixed: vendor fix RHSA-2025:9028
-
Red Hat Discovery 2 discovery 2.0.0-1752592913fixed: vendor fix RHSA-2025:11487
-
Red Hat Enterprise Linux AppStream (v. 8) glibc-utils 2.28-251.el8_10.22, compat-libpthread-nonshared 2.28-251.el8_10.22fixed: vendor fix RHSA-2025:8686
-
Red Hat Enterprise Linux AppStream (v. 9) glibc-utils 2.34-168.el9_6.19, glibc-locale-source 2.34-168.el9_6.19fixed: vendor fix RHSA-2025:8655
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) glibc-utils 2.34-100.el9_4.12, glibc-locale-source 2.34-100.el9_4.12fixed: vendor fix RHSA-2025:9336
-
Red Hat Enterprise Linux BaseOS (v. 8) nscd 2.28-251.el8_10.22, glibc 2.28-251.el8_10.22, libnsl 2.28-251.el8_10.22, nss_db 2.28-251.el8_10.22, glibc-common 2.28-251.el8_10.22, glibc-gconv-extra 2.28-251.el8_10.22, +3 morefixed: vendor fix RHSA-2025:8686
show 13 moreshow fewer
-
Red Hat Enterprise Linux BaseOS (v. 9) nscd 2.34-168.el9_6.19, glibc 2.34-168.el9_6.19, libnsl 2.34-168.el9_6.19, glibc-common 2.34-168.el9_6.19, glibc-gconv-extra 2.34-168.el9_6.19, glibc-all-langpacks 2.34-168.el9_6.19, +1 morefixed: vendor fix RHSA-2025:8655
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) nscd 2.34-100.el9_4.12, glibc 2.34-100.el9_4.12, libnsl 2.34-100.el9_4.12, glibc-common 2.34-100.el9_4.12, glibc-gconv-extra 2.34-100.el9_4.12, glibc-all-langpacks 2.34-100.el9_4.12, +1 morefixed: vendor fix RHSA-2025:9336
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) nss_db 2.34-168.el9_6.19, nss_hesiod 2.34-168.el9_6.19, glibc-benchtests 2.34-168.el9_6.19fixed: vendor fix RHSA-2025:8655
-
Red Hat Enterprise Linux CRB (v. 8) nss_hesiod 2.28-251.el8_10.22, glibc-benchtests 2.28-251.el8_10.22fixed: vendor fix RHSA-2025:8686
-
Red Hat Enterprise Linux Server (v. 7 ELS) nscd 2.17-326.el7_9.5, glibc 2.17-326.el7_9.5, glibc-utils 2.17-326.el7_9.5, glibc-common 2.17-326.el7_9.5, glibc-debuginfo-common 2.17-326.el7_9.5fixed: vendor fix RHSA-2025:10219
-
Red Hat Enterprise Linux Server AUS (v. 7.7) nscd 2.17-292.el7_7.3, glibc 2.17-292.el7_7.3, glibc-utils 2.17-292.el7_7.3, glibc-common 2.17-292.el7_7.3, glibc-debuginfo-common 2.17-292.el7_7.3fixed: vendor fix RHSA-2025:10220
-
Red Hat Enterprise Linux Server Optional (v. 7 ELS) glibc-debuginfo-common 2.17-326.el7_9.5fixed: vendor fix RHSA-2025:10219
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.7) glibc-debuginfo-common 2.17-292.el7_7.3fixed: vendor fix RHSA-2025:10220
-
Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202506251808-0fixed: vendor fix RHSA-2025:9765
-
Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202507021305-0fixed: vendor fix RHSA-2025:10294
-
Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202506251005-0fixed: vendor fix RHSA-2025:9725
-
Red Hat OpenShift Container Platform 4.19 rhcos 4.19.9.6.202506252250-0fixed: vendor fix RHSA-2025:9750
-
Red Hat Discovery 2 discovery 2.0.0-1752593703 Red Hat Enterprise Linux 6 nscd, glibc, glibc-utils, compat-glibc, glibc-common Red Hat Enterprise Linux 7 compat-glibc Red Hat Enterprise Linux 10 glibc Red Hat OpenShift Container Platform 4.16 openshift4/ose-cli-rhel9 v4.16.0-202506062300.p0.gee354f6.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.16.0-202506251307.p0.g29b5494.assembly.stream.el9, openshift4/ose-sdn-rhel9 v4.16.0-202506202104.p0.g53fea06.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.16.0-202506062300.p0.ge7911c0.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.16.0-202506250035.p0.g65d2ed0.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.16.0-202506250035.p0.gee354f6.assembly.stream.el9, +185 more Red Hat OpenShift Container Platform 4.17 openshift4/frr-rhel9 v4.17.0-202507011904.p0.gc018203.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.17.0-202507011904.p0.gf39295c.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.17.0-202507011904.p0.ga5f4f89.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.17.0-202507011904.p0.g0d9e0a9.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.17.0-202507011904.p0.g04e98fb.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.17.0-202507011904.p0.gf39295c.assembly.stream.el9, +183 morenot affected: vulnerable code not present
+2 more productsfewer
Red Hat OpenShift Container Platform 4.18 openshift4/frr-rhel9 v4.18.0-202506251003.p0.g98ccbe6.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.18.0-202506241202.p0.g04e91ac.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.18.0-202506230505.p0.g84b31a3.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.18.0-202506230505.p0.g4163768.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.18.0-202506250134.p0.gccbb9ec.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.18.0-202506250134.p0.g04e91ac.assembly.stream.el9, +183 more Red Hat OpenShift Container Platform 4.19 openshift4/frr-rhel9 v4.19.0-202506251007.p0.g5076dbc.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.19.0-202506250337.p0.gcedf1a1.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.19.0-202506250137.p0.gfa1fd95.assembly.stream.el9, openshift4/ose-console-rhel9 v4.19.0-202506202007.p0.g477eb1a.assembly.stream.el9, openshift4/network-tools-rhel9 v4.19.0-202506250137.p0.g81f7aeb.assembly.stream.el9, openshift4/ose-installer-rhel9 v4.19.0-202506242213.p0.g7785230.assembly.stream.el9, +24 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2025/05/17/2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- The GNU C Library glibc
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
sourceware.org
/cgit/glibc/commit/?id=1e18586c5820e329f741d5c710275e165581380e
patch
-
openwall.com
/lists/oss-security/2025/05/17/2
exploit, mailing-list
-
sourceware.org
/bugzilla/show_bug.cgi?id=32976
issue-tracking
-
openwall.com
/lists/oss-security/2025/05/16/7
mailing-list
- lists.debian.org /debian-lts-announce/2025/05/msg00033.html
Sources
- CVE List CVE-2025-4802
- NVD CVE-2025-4802
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.