# CVE-2025-4802: Untrusted LDLIBRARYPATH environment variable vulnerability in the GNU C Library version 2.27 to 2.38 allows attacker controlled loading of…

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-16T19:32:50.586Z
- Modified: 2026-06-17T09:34:02.647Z
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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).

(As written by CVE List.)

## Affected

- The GNU C Library glibc: from 2.27 before 2.39
- gnu glibc: from 2.27 up to 2.38

## References

- <http://www.openwall.com/lists/oss-security/2025/05/17/2> (exploit, mailing-list)
- <https://sourceware.org/cgit/glibc/commit/?id=1e18586c5820e329f741d5c710275e165581380e> (patch)
- <https://sourceware.org/bugzilla/show_bug.cgi?id=32976> (issue-tracking)
- <http://www.openwall.com/lists/oss-security/2025/05/16/7> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00033.html>

## Sources

- CVE List: [CVE-2025-4802](https://www.cve.org/CVERecord?id=CVE-2025-4802), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-4802](https://nvd.nist.gov/vuln/detail/CVE-2025-4802), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4802 · Whole record: https://cve.day/CVE-2025-4802.json · Rebuilt by cve.day 2026-11-25T22:58:58.156Z
