{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-4802 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-4802 is a high-severity vulnerability in Gnu Glibc, published on 16 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-4802 and fix it if it is affected.\n\nWhat it is: CVE-2025-4802 is a high-severity vulnerability in Gnu Glibc, published on 16 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-4802 in the wild and no public exploit code.\n\nAffected product: Gnu Glibc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-4802/ (Markdown: https://insights.sbomify.com/CVE-2025-4802/index.md)","id":"CVE-2025-4802","markdown":"https://insights.sbomify.com/CVE-2025-4802/index.md","name":"CVE-2025-4802","record":{"aliases":["ALSA-2025:8655","ALSA-2025:8686","AZL-61873","AZL-61877","BELL-CVE-2025-4802","CLSA-2025-1750416241","CLSA-2025-1750692029","CLSA-2025-1750697072","CLSA-2025-1750784684","CLSA-2025-1751891683","CLSA-2025-1757690477","CLSA-2025-1757700003","CLSA-2025-1758892548","CLSA-2026-1787213464","DEBIAN-CVE-2025-4802","DLA-4181-1","ECHO-9557-5d0c-3a13","GHSA-8mm9-c4mg-vfjh","MGASA-2025-0164","MINI-7c3m-qhhf-4gj8","OESA-2025-1581","RHSA-2025:10219","RHSA-2025:10220","RHSA-2025:8655","RHSA-2025:8686","RHSA-2025:9336","RLSA-2025:8655","RLSA-2025:8686","SUSE-SU-2025:01702-1","SUSE-SU-2025:01702-2","SUSE-SU-2025:01784-1","SUSE-SU-2025:20332-1","SUSE-SU-2025:20361-1","UBUNTU-CVE-2025-4802","USN-7541-1","openSUSE-SU-2025:15697-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU C Library","requires_auth":"none","summary":"Attackers can escalate privileges by exploiting untrusted LD_LIBRARY_PATH in statically compiled setuid binaries using glibc.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"glibc","cpe":[{"product":"glibc","vendor":"gnu"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"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).","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:7.7::server","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.4::crb","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-01-09","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-09T00:15:37Z","kind":"github_poc","ref":"https://github.com/betizzel/CVE-2025-4802-Proof-of-Concept","stars":2,"title":"Proof of Concept for a statically compiled setuid binary vulnerable to dlopen with LD_LIBRARY_PATH"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Privilege escalation in glibc","id":"CVE-2025-4802","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:glibc","products":["gnu:glibc"],"type":"privilege_escalation","year":"2025"},"n_packages":1213,"n_references":2,"next":{"headline":"Glossary by WPPedia \u003c= 1.3.0 - Authenticated (Administrator+) PHP Object Injection","id":"CVE-2025-4803"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"compat-libpthread-nonshared","purl":"pkg:rpm/almalinux/compat-libpthread-nonshared","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/almalinux/glibc","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/almalinux/glibc-all-langpacks","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/almalinux/glibc-benchtests","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/almalinux/glibc-common","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/almalinux/glibc-devel","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/almalinux/glibc-doc","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/almalinux/glibc-gconv-extra","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/almalinux/glibc-headers","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/almalinux/glibc-langpack-aa","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/almalinux/glibc-langpack-af","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/almalinux/glibc-langpack-agr","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/almalinux/glibc-langpack-ak","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/almalinux/glibc-langpack-am","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/almalinux/glibc-langpack-an","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/almalinux/glibc-langpack-anp","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/almalinux/glibc-langpack-ar","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/almalinux/glibc-langpack-as","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/almalinux/glibc-langpack-ast","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/almalinux/glibc-langpack-ayc","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-az","purl":"pkg:rpm/almalinux/glibc-langpack-az","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-be","purl":"pkg:rpm/almalinux/glibc-langpack-be","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bem","purl":"pkg:rpm/almalinux/glibc-langpack-bem","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ber","purl":"pkg:rpm/almalinux/glibc-langpack-ber","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bg","purl":"pkg:rpm/almalinux/glibc-langpack-bg","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bhb","purl":"pkg:rpm/almalinux/glibc-langpack-bhb","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bho","purl":"pkg:rpm/almalinux/glibc-langpack-bho","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bi","purl":"pkg:rpm/almalinux/glibc-langpack-bi","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bn","purl":"pkg:rpm/almalinux/glibc-langpack-bn","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bo","purl":"pkg:rpm/almalinux/glibc-langpack-bo","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-br","purl":"pkg:rpm/almalinux/glibc-langpack-br","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-brx","purl":"pkg:rpm/almalinux/glibc-langpack-brx","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bs","purl":"pkg:rpm/almalinux/glibc-langpack-bs","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-byn","purl":"pkg:rpm/almalinux/glibc-langpack-byn","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ca","purl":"pkg:rpm/almalinux/glibc-langpack-ca","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ce","purl":"pkg:rpm/almalinux/glibc-langpack-ce","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-chr","purl":"pkg:rpm/almalinux/glibc-langpack-chr","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cmn","purl":"pkg:rpm/almalinux/glibc-langpack-cmn","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-crh","purl":"pkg:rpm/almalinux/glibc-langpack-crh","source":"ALSA-2025:8686"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.22"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cs","purl":"pkg:rpm/almalinux/glibc-langpack-cs","source":"ALSA-2025:8686"}],"prev":{"headline":"** REJECT ** DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2025-4801"},"products":["glibc"],"published":"2025-05-16","related":[{"cvss_score":9.8,"headline":"scanf %mc off-by-one heap buffer overflow","id":"CVE-2026-5450","kev_date_added":null,"published":"2026-04-20"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2023-25139","kev_date_added":null,"published":"2023-02-03"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-1999-0199","kev_date_added":null,"published":"2020-10-06"},{"cvss_score":9.8,"headline":"Security feature bypass in glibc","id":"CVE-2019-1010022","kev_date_added":null,"published":"2019-07-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2005-3590","kev_date_added":null,"published":"2019-04-10"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-18269","kev_date_added":null,"published":"2018-05-18"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2018-11236","kev_date_added":null,"published":"2018-05-18"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["The GNU C Library"]},"summary":"Attackers can escalate privileges by exploiting untrusted LD_LIBRARY_PATH in statically compiled setuid binaries using glibc.","url":"https://insights.sbomify.com/CVE-2025-4802/"}