Untrusted search path in GNU glibc
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 19 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-426.
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA glibc (The GNU C Library) Fixed in 2.39
Red Hat 11 advisories
- RHSA-2025:11487 Released 2025-07-21 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9
- RHSA-2025:10294 Released 2025-07-09 · Red Hat rating ImportantOpenShift Container Platform 4.17.35 bug fix and security update
- Red Hat OpenShift Container Platform 4.17 openshift4/aws-kms-encryption-provider-rhel9, openshift4/azure-kms-encryption-provider-rhel9, openshift4/cloud-network-config-controller-rhel9 +47
- RHSA-2025:10219 Released 2025-07-02 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux Server (v. 7 ELS) glibc-2.17-326.el7_9.5, glibc-2.17-326.el7_9.5.ppc, glibc-common-2.17-326.el7_9.5 +5
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) glibc-static-2.17-326.el7_9.5, glibc-static-2.17-326.el7_9.5.ppc
Show 8 more Red Hat advisories
- RHSA-2025:10220 Released 2025-07-02 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux Server AUS (v. 7.7) glibc-2.17-292.el7_7.3, glibc-common-2.17-292.el7_7.3, glibc-devel-2.17-292.el7_7.3 +3
- Red Hat Enterprise Linux Server Optional AUS (v. 7.7) glibc-static-2.17-292.el7_7.3
- RHSA-2025:9725 Released 2025-07-02 · Red Hat rating ModerateOpenShift Container Platform 4.18.19 bug fix and security update
- Red Hat OpenShift Container Platform 4.18 rhcos
- RHSA-2025:9765 Released 2025-07-02 · Red Hat rating ModerateOpenShift Container Platform 4.16.43 bug fix and security update
- Red Hat OpenShift Container Platform 4.16 openshift4/ose-cluster-openshift-apiserver-rhel9-operator, rhcos
- RHSA-2025:9750 Released 2025-07-01 · Red Hat rating ModerateOpenShift Container Platform 4.19.2 bug fix and security update
- Red Hat OpenShift Container Platform 4.19 rhcos
- RHSA-2025:9336 Released 2025-06-23 · Red Hat rating Moderateglibc security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) glibc-benchtests-2.34-100.el9_4.12, glibc-nss-devel-2.34-100.el9_4.12, glibc-static-2.34-100.el9_4.12 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.4) glibc-devel-2.34-100.el9_4.12, glibc-doc-2.34-100.el9_4.12, glibc-headers-2.34-100.el9_4.12 +2
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) glibc-2.34-100.el9_4.12, glibc-all-langpacks-2.34-100.el9_4.12, glibc-common-2.34-100.el9_4.12 +47
- RHSA-2025:9028 Released 2025-06-12 · Red Hat rating ModerateA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 1.14 registry.redhat.io/discovery/discovery-server-rhel9
- RHSA-2025:8686 Released 2025-06-09 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux AppStream (v. 8) compat-libpthread-nonshared-2.28-251.el8_10.22, glibc-utils-2.28-251.el8_10.22
- Red Hat Enterprise Linux BaseOS (v. 8) glibc-2.28-251.el8_10.22, glibc-all-langpacks-2.28-251.el8_10.22, glibc-common-2.28-251.el8_10.22 +47
- Red Hat Enterprise Linux CRB (v. 8) glibc-benchtests-2.28-251.el8_10.22, glibc-nss-devel-2.28-251.el8_10.22, glibc-static-2.28-251.el8_10.22 +1
- RHSA-2025:8655 Released 2025-06-09 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux AppStream (v. 9) glibc-devel-2.34-168.el9_6.19, glibc-doc-2.34-168.el9_6.19, glibc-headers-2.34-168.el9_6.19 +2
- Red Hat Enterprise Linux BaseOS (v. 9) glibc-2.34-168.el9_6.19, glibc-all-langpacks-2.34-168.el9_6.19, glibc-common-2.34-168.el9_6.19 +47
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) glibc-benchtests-2.34-168.el9_6.19, glibc-nss-devel-2.34-168.el9_6.19, glibc-static-2.34-168.el9_6.19 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2025:9336 |
| Red Hat Discovery 1.14 | Fixed | RHSA-2025:9028 |
| Red Hat Discovery 2 | Fixed | RHSA-2025:11487 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:8686 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:8655 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:9336 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2025:8686 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2025:8655 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2025:9336 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2025:8686 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2025:8655 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2025:10219 |
| Red Hat Enterprise Linux Server AUS (v. 7.7) | Fixed | RHSA-2025:10220 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2025:10219 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.7) | Fixed | RHSA-2025:10220 |
| Red Hat OpenShift Container Platform 4.16 | Fixed | RHSA-2025:9765 |
| Red Hat OpenShift Container Platform 4.17 | Fixed | RHSA-2025:10294 |
| Red Hat OpenShift Container Platform 4.18 | Fixed | RHSA-2025:9725 |
| Red Hat OpenShift Container Platform 4.19 | Fixed | RHSA-2025:9750 |
Not affected: 8 products
- Red Hat Discovery 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Container Platform 4.16
- Red Hat OpenShift Container Platform 4.17
- Red Hat OpenShift Container Platform 4.18
- Red Hat OpenShift Container Platform 4.19
Timeline
- 2026-10-02 Threatist record created from CVE-2025-4802
- 2026-10-03 Alias added: GHSA-8mm9-c4mg-vfjh
References
More GNU Glibc vulnerabilities
- TI-2023-04522 Glibc: buffer overflow in ld.so leading to privilege escalation KEVCVSS 3.1HIGH 7.8
- TI-2015-00205 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… CVSS 2.0HIGH 10.0
- TI-2026-04772 scanf %mc off-by-one heap buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2022-07360 The deprecated compatibility function clnt_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2022-07359 The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2015-06274 Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the… CVSS 3.0HIGH 8.1
Sources
- CVE-2025-4802 · CVE Program
- CVE-2025-4802 · NVD
- FIRST EPSS
- GHSA-8mm9-c4mg-vfjh · GitHub Advisory Database · CC BY 4.0
- CVE-2025-4802 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences