{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5702 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-5702 is a medium-severity memory corruption vulnerability in Gnu Glibc, published on 5 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-5702 and fix it if it is affected.\n\nWhat it is: CVE-2025-5702 is a medium-severity memory corruption vulnerability in Gnu Glibc, published on 5 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5702 exists.\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-5702/ (Markdown: https://insights.sbomify.com/CVE-2025-5702/index.md)","id":"CVE-2025-5702","markdown":"https://insights.sbomify.com/CVE-2025-5702/index.md","name":"CVE-2025-5702","record":{"aliases":["ALSA-2025:11066","ALSA-2025:9877","DEBIAN-CVE-2025-5702","GHSA-hqwp-qwfv-mhrx","MINI-8qf7-3jq4-43w3","MINI-qv64-wg56-gmf8","RHSA-2025:11066","RHSA-2025:9877","RLSA-2025:11066","RLSA-2025:9877","UBUNTU-CVE-2025-5702","openSUSE-SU-2025:15227-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU C Library","requires_auth":"none","summary":"A glibc bug on Power10 corrupts non-volatile registers, potentially allowing control flow hijacking or data leakage.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"glibc","cpe":[{"product":"glibc","vendor":"gnu"}],"cvss":{"score":5.6,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"description":"The strcmp implementation optimized for the Power10 processor in the GNU C Library version 2.39 and later writes to vector registers v20 to v31 without saving contents from the caller (those registers are defined as non-volatile registers by the powerpc64le ABI), resulting in overwriting of its contents and potentially altering control flow of the caller, or leaking the input strings to the function to other parts of the program.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Rocky Linux:10","Rocky Linux:9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in glibc","id":"CVE-2025-5702","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:glibc","products":["gnu:glibc"],"type":"memory_corruption","year":"2025"},"n_packages":695,"n_references":1,"next":{"headline":"StageShow \u003c= 10.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via anchor Parameter","id":"CVE-2025-5703"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2.39-43.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/almalinux/glibc-doc","source":"ALSA-2025:11066"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/almalinux/glibc","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/almalinux/glibc-all-langpacks","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/almalinux/glibc-benchtests","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/almalinux/glibc-common","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/almalinux/glibc-devel","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/almalinux/glibc-doc","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/almalinux/glibc-gconv-extra","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/almalinux/glibc-headers","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/almalinux/glibc-langpack-aa","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/almalinux/glibc-langpack-af","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/almalinux/glibc-langpack-agr","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/almalinux/glibc-langpack-ak","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/almalinux/glibc-langpack-am","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/almalinux/glibc-langpack-an","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/almalinux/glibc-langpack-anp","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/almalinux/glibc-langpack-ar","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/almalinux/glibc-langpack-as","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/almalinux/glibc-langpack-ast","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/almalinux/glibc-langpack-ayc","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-az","purl":"pkg:rpm/almalinux/glibc-langpack-az","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-be","purl":"pkg:rpm/almalinux/glibc-langpack-be","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bem","purl":"pkg:rpm/almalinux/glibc-langpack-bem","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ber","purl":"pkg:rpm/almalinux/glibc-langpack-ber","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bg","purl":"pkg:rpm/almalinux/glibc-langpack-bg","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bhb","purl":"pkg:rpm/almalinux/glibc-langpack-bhb","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bho","purl":"pkg:rpm/almalinux/glibc-langpack-bho","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bi","purl":"pkg:rpm/almalinux/glibc-langpack-bi","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bn","purl":"pkg:rpm/almalinux/glibc-langpack-bn","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bo","purl":"pkg:rpm/almalinux/glibc-langpack-bo","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-br","purl":"pkg:rpm/almalinux/glibc-langpack-br","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-brx","purl":"pkg:rpm/almalinux/glibc-langpack-brx","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bs","purl":"pkg:rpm/almalinux/glibc-langpack-bs","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-byn","purl":"pkg:rpm/almalinux/glibc-langpack-byn","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ca","purl":"pkg:rpm/almalinux/glibc-langpack-ca","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ce","purl":"pkg:rpm/almalinux/glibc-langpack-ce","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-chr","purl":"pkg:rpm/almalinux/glibc-langpack-chr","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ckb","purl":"pkg:rpm/almalinux/glibc-langpack-ckb","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cmn","purl":"pkg:rpm/almalinux/glibc-langpack-cmn","source":"ALSA-2025:9877"},{"ecosystem":"AlmaLinux:9","fixed":["2.34-168.el9_6.20"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-crh","purl":"pkg:rpm/almalinux/glibc-langpack-crh","source":"ALSA-2025:9877"}],"prev":{"headline":"HyperComments \u003c= 1.2.2 - Unauthenticated (Subscriber+) Arbitrary Options Update","id":"CVE-2025-5701"},"products":["glibc"],"published":"2025-06-05","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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-05","vendors":["The GNU C Library"]},"summary":"A glibc bug on Power10 corrupts non-volatile registers, potentially allowing control flow hijacking or data leakage.","url":"https://insights.sbomify.com/CVE-2025-5702/"}