CVE-2025-4802

Published May 16, 2025
·
Updated

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 Software

12 affected componentsFixes available
GNU C Library>=2.27<=2.38
GNU glibc>=2.27<=2.38
IBM Cloud Pak System<=2.3.4.0
IBM Cloud Pak System<=2.3.4.1 2.3.4.1 ifix1
IBM Cloud Pak System<=2.3.5.0
IBM Cloud Pak System<=2.3.6.0
IBM OS Image for Red Hat Linux Systems<=4.0.4.0 4.0.5.0 4.0.6.0 4.0.7.0
IBM OS Image for Red Hat Linux Systems<=5.0.0.0 5.0.1.0
Microsoft azl3 glibc 2.38-11
Microsoft cbl2 glibc 2.35-7
Microsoft cbl2 glibc 2.35-7
Microsoft azl3 glibc 2.38-12

Event History

May 16, 2025
CVE Published
via MITRE·07:32 PM
Data Sourced
via MITRE·07:32 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 20, 2025
Data Sourced
via Red Hat·01:02 PM
DescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·12:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:02 AM
SeverityAffected Software
Updated
via Microsoft·07:02 AM
Affected Software
Updated
via Microsoft·07:02 AM
DescriptionSeverity
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4802?

CVE-2025-4802 is considered a high severity vulnerability due to its potential to allow arbitrary code execution in setuid binaries.

2

How do I fix CVE-2025-4802?

To fix CVE-2025-4802, update the GNU C Library to a version later than 2.38.

3

Who is affected by CVE-2025-4802?

CVE-2025-4802 affects users of the GNU C Library versions between 2.27 and 2.38 that utilize setuid binaries.

4

What type of vulnerability is CVE-2025-4802?

CVE-2025-4802 is an untrusted LD_LIBRARY_PATH environment variable vulnerability.

5

What can an attacker do with CVE-2025-4802?

An attacker exploiting CVE-2025-4802 can control the loading of dynamically shared libraries in vulnerable applications, potentially leading to full system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203