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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The GNU C Library | glibc | 2.27 – < 2.39 | 2.39 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glibc | 2.39-4 | — |
| Debian 13 | glibc | 2.39-4 | — |
| Debian 12 | glibc | 2.36-9+deb12u11 | — |
| Debian 11 | glibc | 2.31-13+deb11u13 | DLA-4181-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | glibc | 2.35-0ubuntu3.10 | USN-7541-1 |
| Ubuntu 20.04 LTS | glibc | 2.31-0ubuntu9.18 | USN-7541-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | glibc | 2.27-3ubuntu1.6+esm5 | USN-7541-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nscd +214 | 2.34-168.el9_6.19 | RHSA-2025:8655 |
| RHEL 8 | nscd +213 | 2.28-251.el8_10.22 | RHSA-2025:8686 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | nscd +214 | 2.34-100.el9_4.12 | RHSA-2025:9336 |
| RHEL 7.7 AUS | nscd +7 | 2.17-292.el7_7.3 | RHSA-2025:10220 |
| RHEL 7 ELS | nscd +7 | 2.17-326.el7_9.5 | RHSA-2025:10219 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nscd +214 | 2.34-168.el9_6.19 | ALSA-2025:8655 |
| AlmaLinux 8 | nscd +213 | 2.28-251.el8_10.22 | ALSA-2025:8686 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | glibc | 2.34-168.el9_6.19 | RLSA-2025:8655 |
| Rocky Linux 8 | glibc | 2.28-251.el8_10.22 | RLSA-2025:8686 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | glibc | 2.38-150600.14.32.1 | SUSE-SU-2025:01702-2 |
| SLES 15 SP6 | glibc | 2.38-150600.14.32.1 | SUSE-SU-2025:01702-1 |
| SLES 15 SP5 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLES 15 SP4 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLES 15 SP3 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLES for SAP 15 SP4 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLES for SAP 15 SP3 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE Micro 6.1 | glibc | 2.38-slfo.1.1_4.1 | SUSE-SU-2025:20361-1 |
| SLE Micro 6.0 | glibc | 2.38-9.1 | SUSE-SU-2025:20332-1 |
| SLE Micro 5.5 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE Micro 5.4 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE Micro 5.3 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE Micro 5.2 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE Micro 5.1 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE HPC 15 SP5 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE HPC 15 SP4 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SLE HPC 15 SP3 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SUSE Manager Server 4.3 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SUSE Manager Proxy 4.3 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
| SUSE Enterprise Storage 7.1 | glibc | 2.31-150300.95.1 | SUSE-SU-2025:01784-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.41-3.1 | openSUSE-SU-2025:15222-1 |
| openSUSE Tumbleweed | kumactl | 2.12.3-1.1 | openSUSE-SU-2025:15697-1 |
| openSUSE Leap 15.6 | glibc | 2.38-150600.14.32.1 | SUSE-SU-2025:01702-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nscd +217 | 2.34-196.amzn2023.0.1 | ALAS2023-2025-1001 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | glibc | 2.38-14 | — |
| Azure Linux 2 (CBL-Mariner) | glibc | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | nscd +214 | 2.34-168.0.1.el9_6.19 | ELSA-2025-8655 |
| Oracle Linux 8 | nscd +213 | 2.28-251.0.3.el8_10.22 | ELSA-2025-8686 |
| Oracle Linux 7 | nscd +6 | 2.17-326.0.11.el7_9.3 | ELSA-2025-10219 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
betizzel/CVE-2025-4802-Proof-of-Concept ★ 2 · Jan 9, 2026
Proof of Concept for a statically compiled setuid binary vulnerable to dlopen with LD_LIBRARY_PATH
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 27
- ALSA-2025:8655 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:8686 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:9336 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:8686 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:8655 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10220 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10219 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2025-1559 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-7541-1 glibc vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2025:15697-1 kumactl-2.12.3-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15222-1 glibc-2.41-3.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20361-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01702-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20332-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4181-1 glibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:01702-2 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:01784-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1089 GNU libc: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jan 21, 2026
- WID-SEC-2025-2361 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- NCSC-2025-0330 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Oct 23, 2025
- RLSA-2025:8655 Moderate: glibc security update Rocky Linux Security Advisories · Oct 4, 2025
- ELSA-2025-10219 Moderate: glibc security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 25, 2025
- RLSA-2025:8686 Moderate: glibc security update Rocky Linux Security Advisories · Jul 29, 2025
- ALAS2023-2025-1001 Important: glibc security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 10, 2025
- ELSA-2025-8686 Moderate: glibc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 10, 2025
- ELSA-2025-8655 Moderate: glibc security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 9, 2025