Home

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.

PUBLISHED Reserved 2025-06-05 | Published 2025-06-05 | Updated 2025-06-05 | Assigner glibc

Product status

Default status
unaffected

2.40 (custom)
affected

References

sourceware.org/bugzilla/show_bug.cgi?id=33060

cve.org (CVE-2025-5745)

nvd.nist.gov (CVE-2025-5745)

Download JSON