CVE-2025-5702 Memory corruption in glibc
A glibc bug on Power10 corrupts non-volatile registers, potentially allowing control flow hijacking or data leakage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-5702?
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.
Official 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.
Weakness: CWE-665
Which versions are affected by CVE-2025-5702?
It affects 1 product.
Linux distribution packages (40)
glibc-doc AlmaLinux:10 | All versions | 2.39-43.el10_0.alma.1 |
glibc AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-all-langpacks AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-benchtests AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-common AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-devel AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-doc AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-gconv-extra AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-headers AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-aa AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-af AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-agr AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ak AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-am AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-an AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-anp AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ar AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-as AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ast AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ayc AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-az AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-be AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bem AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ber AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bg AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bhb AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bho AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bi AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bn AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bo AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-br AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-brx AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-bs AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-byn AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ca AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ce AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-chr AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-ckb AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-cmn AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
glibc-langpack-crh AlmaLinux:9 | All versions | 2.34-168.el9_6.20 |
Products include Gnu Glibc.
How do I fix CVE-2025-5702?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-5702 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5702 exists.
Other vulnerabilities in Gnu Glibc
Sources
Also known as ALSA-2025:11066, ALSA-2025:9877, DEBIAN-CVE-2025-5702, GHSA-hqwp-qwfv-mhrx, MINI-8qf7-3jq4-43w3, MINI-qv64-wg56-gmf8 and 6 more.