Glibc: Untrusted LD_LIBRARY_PATH environment variable vulnerability
Affects glibcSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 2.27-3ubuntu1.6+esm5 : patch glibc soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.27-3ubuntu1.6+esm5, 2.31-0ubuntu9.18, 2.35-0ubuntu3.10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu glibc to 2.27-3ubuntu1.6+esm5 (package) or 2.31-0ubuntu9.18 (package) or 2.35-0ubuntu3.10 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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).
References
- ubuntu.com/security/CVE-2025-4802 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-4802 (opens in a new tab)
- sourceware.org/bugzilla/show_bug.cgi?id=32976 (opens in a new tab)
- openwall.com/lists/oss-security/2025/05/17/2 (opens in a new tab)
- openwall.com/lists/oss-security/2025/05/16/7 (opens in a new tab)
- sourceware.org/cgit/glibc/commit/?id=1e18586c5820e329f741d5c710275e165581380e (opens in a new tab)
- sourceware.org/cgit/glibc/commit/?id=5451fa962cd0a90a0e2ec1d8910a559ace02bba0 (opens in a new tab)
- ubuntu.com/security/notices/USN-7541-1 (opens in a new tab)