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).
CVE-2025-4802
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2025-05-16. NVD baseline CVSS 7.8; sources differ by 2.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 9.8(medium)
- EG Risk
- —
- EPSS
- 42.5%
- KEV
- Not listed
Published
May 16, 2025
Last Modified
November 3, 2025
References (5)
- 3ff69d7a-14f2-4f67-a097-88dee7810d18https://sourceware.org/bugzilla/show_bug.cgi?id=32976
- 3ff69d7a-14f2-4f67-a097-88dee7810d18https://sourceware.org/cgit/glibc/commit/?id=1e18586c5820e329f741d5c710275e165581380e
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/05/16/7
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/05/17/2
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/05/msg00033.html
Vendor Advisories for CVE-2025-4802(10)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2025-4802Microsoft Security Response Center (MSRC)High
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).
- RHSA-2025:11487Red Hat Product SecurityHigh
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
- RHSA-2025:10294Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.17.35 bug fix and security update
- RHSA-2025:9725Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.18.19 bug fix and security update
- RHSA-2025:9765Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.16.43 bug fix and security update
- RHSA-2025:9750Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.19.2 bug fix and security update
- RHSA-2025:9336Red Hat Product SecurityMedium
Red Hat Security Advisory: glibc security update
- RHSA-2025:9028Red Hat Product SecurityMedium
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
- +2 more
Patch Availability(12)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | nscd (2.35-0ubuntu3.10) @ jammy | 2026-05-30 | ubuntu |
| redhat | discovery/discovery-server-rhel9:2.0.0-1752592913 | 2025-07-21 | redhat |
| redhat | rhcos-417.94.202507021305-0 | 2025-07-09 | redhat |
| redhat | glibc-0:2.17-326.el7_9.5 | 2025-07-02 | redhat |
| redhat | glibc-0:2.17-292.el7_7.3 | 2025-07-02 | redhat |
| redhat | rhcos-418.94.202506251005-0 | 2025-07-02 | redhat |
| redhat | rhcos-416.94.202506251808-0 | 2025-07-02 | redhat |
| redhat | rhcos-4.19.9.6.202506252250-0 | 2025-07-01 | redhat |
| redhat | glibc-0:2.34-100.el9_4.12 | 2025-06-23 | redhat |
| redhat | discovery/discovery-server-rhel9:1.14.5-1749654812 | 2025-06-12 | redhat |
| redhat | glibc-0:2.34-168.el9_6.19 | 2025-06-09 | redhat |
| redhat | glibc-0:2.28-251.el8_10.22 | 2025-06-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(3)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 11× in last 7d / 49× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
Show 71 moreShow fewer
- 2026-07-07 01:21 UTCOSV refresh
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:01 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 12:13 UTCOSV refresh
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-30 05:10 UTCEG score recompute
- 2026-05-30 05:10 UTCVendor advisory
- 2026-05-30 05:10 UTCGHSA enrichment
- 2026-05-29 13:44 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCBetim-Hodza/CVE-2025-4802-Proof-of-ConceptFirst seen Jan 9, 2026
Proof of Concept for a statically compiled setuid binary vulnerable to dlopen with LD_LIBRARY_PATH
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Frequently asked(5)
What is CVE-2025-4802?
When was CVE-2025-4802 disclosed?
Is CVE-2025-4802 actively exploited?
What is the CVSS score of CVE-2025-4802?
How do I remediate CVE-2025-4802?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2025-4802
Is Your Infrastructure Affected by CVE-2025-4802?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.