Skip to main content
CVE-2025-4802VulnerabilityPublished Updated

Glibc: Untrusted LD_LIBRARY_PATH environment variable vulnerability

Affects glibcSource GCVE Database

0
Compare

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=jammyOther threatsAffected
  • <2.35-0ubuntu3.10
Fixed in
  • 2.35-0ubuntu3.10
Ubuntu 20.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=focalOther threatsAffected
  • <2.31-0ubuntu9.18
Fixed in
  • 2.31-0ubuntu9.18
Ubuntu Pro 18.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.27-3ubuntu1.6+esm5
Fixed in
  • 2.27-3ubuntu1.6+esm5

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

Community reviews

Loading reviews…