CVE-2025-5702 Details
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.
A vulnerability exists in the Power10-optimized strcmp implementation in the GNU C Library, specifically in versions 2.39 and later. This vulnerability arises because the function writes to vector registers v20 to v31 without preserving the original contents, in violation of the powerpc64le ABI's non-volatile register designation. As a result, the unprotected registers can be overwritten, potentially disrupting the caller's control flow or leaking input strings to other program components.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://sourceware.org/bugzilla/show_bug.cgi?id=33056 | GNU C Library | Issue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-665 | Improper Initialization | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| gnu glibc | >= 2.39, < 2.39-209 >= 2.40, < 2.40-139 >= 2.41, < 2.41-60 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | GNU C Library |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | Initial Analysis | [email protected] |
| Jun 5, 2025 | CVE Modified | CISA-ADP |
| Jun 5, 2025 | New CVE Received | GNU C Library |