Vulnerability · Published Jun 5, 2025 · Assigned by glibc
CVE-2025-5745
Medium 5.6
In plain English
A medium-severity security flaw in glibc from The GNU C Library. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | glibc | 2.41-9 | DEBIAN-CVE-2025-5745 |
| Debian:14 | glibc | 2.41-9 | DEBIAN-CVE-2025-5745 |
| Ubuntu:24.04:LTS | glibc | 2.39-0ubuntu8.5 | USN-7634-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| The GNU C Library | glibc | 2.40 |
Weakness: CWE-665 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L