What’s Vulnerable › Vulnerabilities

CVE-2025-5745

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

How to fix

Upgrade to a fixed version: GNU C Library (glibc) 2.40-136, 2.41-57. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-5745 or the next vulnerability affects your stack