7.8High

CVE-2025-4802

The GNU C Library glibc Published: (1 year ago)

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).

Weakness (CWE): CWE-426

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
gnu glibc 2.27 – ≤ 2.38
The GNU C Library glibc 2.27 – < 2.39

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* ≥ 2.27 ≤ 2.38