CVE-2025-5745
published 2025-06-05CVE-2025-5745: 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…
PriorityP428medium5.6CVSS 3.1
AVNACHPRNUINSUCLILAL
EPSS
0.22%
12.1th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glibc | < glibc 2.41-9 (forky) | glibc 2.41-9 (forky) |
| gnu | glibc | >= 0 < 2.41-9 | 2.41-9 |
| gnu | glibc | >= 0 < 2.41-9 | 2.41-9 |
| gnu | glibc | >= 0 < 2.39-0ubuntu8.5 | 2.39-0ubuntu8.5 |
| gnu | glibc | >= 2.40 < 2.40-136 | 2.40-136 |
| gnu | glibc | >= 2.41 < 2.41-57 | 2.41-57 |
| the_gnu_c_library | glibc | — | — |
CVSS provenance
nvdv3.15.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
osv5.6MEDIUM
vendor_debian5.6LOW
vendor_redhat5.6MEDIUM
vendor_ubuntu5.6MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
glibc vulnerabilities
osv·2025-07-14·CVSS 5.6
CVE-2025-5702 [MEDIUM] glibc vulnerabilities
glibc vulnerabilities
It was discovered that the GNU C Library incorrectly handled the strcmp
implementation optimized for Power10 processors. This could cause
applications to crash, compute wrong results, or leak confidential
information. (CVE-2025-5702)
It was discovered that the GNU C Library incorrectly handled the strncmp
implementation optimized for Power10 processors. This could cause
applications to crash, compute wrong results, or leak confidential
information. This issue only affected Ubuntu 25.04. (CVE-2025-5745)
OSV
CVE-2025-5745: The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2
osv·2025-06-05·CVSS 5.6
CVE-2025-5745 [MEDIUM] CVE-2025-5745: The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2
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.
GHSA
GHSA-7qrf-49g7-25m2: The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2
ghsa_unreviewed·2025-06-05
CVE-2025-5745 [MEDIUM] CWE-665 GHSA-7qrf-49g7-25m2: The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2
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.
Ubuntu
GNU C Library vulnerabilities
vendor_ubuntu·2025-07-14·CVSS 5.6
CVE-2025-5702 [MEDIUM] GNU C Library vulnerabilities
Title: GNU C Library vulnerabilities
Summary: Several security issues were fixed in GNU C Library.
It was discovered that the GNU C Library incorrectly handled the strcmp
implementation optimized for Power10 processors. This could cause
applications to crash, compute wrong results, or leak confidential
information. (CVE-2025-5702)
It was discovered that the GNU C Library incorrectly handled the strncmp
implementation optimized for Power10 processors. This could cause
applications to crash, compute wrong results, or leak confidential
information. This issue only affected Ubuntu 25.04. (CVE-2025-5745)
Instructions: After a standard system update you need to reboot your computer to make all
the necessary changes.
Red Hat
glibc: Vector register overwrite bug in glibc
vendor_redhat·2025-06-05·CVSS 5.6
CVE-2025-5745 [MEDIUM] CWE-404 glibc: Vector register overwrite bug in glibc
glibc: Vector register overwrite bug in glibc
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 flaw was found in the strncmp glibc function optimized for the Power10 architecture. Overwriting two vector registers could disrupt program control flow, possibly leading to system instability.
Statement: No Red Hat products or offerings are affected by this vulnerability.
This vulnerability is Important rather t
Debian
CVE-2025-5745: glibc - The strncmp implementation optimized for the Power10 processor in the GNU C Libr...
vendor_debian·2025·CVSS 5.6
CVE-2025-5745 [MEDIUM] CVE-2025-5745: glibc - The strncmp implementation optimized for the Power10 processor in the GNU C Libr...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 2.41-9)
sid: resolved (fixed in 2.41-9)
trixie: resolved (fixed in 2.41-9)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-06-05
Published