CVE-2025-5745 Details
Description
The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2.40 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 GNU C Library (glibc) in versions 2.40 and later, specifically in the strncmp function optimized for the Power10 processor. 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 requirement. As a result, the unprotected registers can be overwritten, potentially disrupting the caller's control flow or leaking input strings to other parts of the program.
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=33060 | 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.40, < 2.40-136 >= 2.41, < 2.41-57 |
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 22, 2025 | Initial Analysis | [email protected] |
| Jun 5, 2025 | CVE Modified | CISA-ADP |
| Jun 5, 2025 | New CVE Received | GNU C Library |