Skip to content

CVE-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 contents from the caller (those register...

MediumCVSS 5.6 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
debian/glibc(Debian:13) < 2.41-9 2.41-9
debian/glibc(Debian:14) < 2.41-9 2.41-9
The GNU C Library glibc = 2.40 No fix listed
GNU glibc >= 2.40, < 2.40-136 2.40-136
GNU glibc >= 2.41, < 2.41-57 2.41-57

References