CVE-2025-4802
Last modified
CVE-2025-4802 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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).. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Glibc | >= 2.27, <= 2.38 |
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=32976Issue Tracking
- http://www.openwall.com/lists/oss-security/2025/05/17/2Exploit, Mailing List
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-4802?
How severe is CVE-2025-4802?
How do I fix CVE-2025-4802?
Are you affected by CVE-2025-4802?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
