# 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 t…

- Severity: Medium 5.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-02)
- Published: 2025-06-05T19:20:23.405Z
- Modified: 2026-06-17T09:48:40.597Z
- Weaknesses: CWE-665
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: glibc

## 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.

(As written by CVE List.)

## Affected

- The GNU C Library glibc: 2.40
- gnu glibc: from 2.40 before 2.40-136; from 2.41 before 2.41-57

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=33060> (issue-tracking)

## Sources

- CVE List: [CVE-2025-5745](https://www.cve.org/CVERecord?id=CVE-2025-5745), CVE Terms of Use, modified 2025-06-05
- NVD: [CVE-2025-5745](https://nvd.nist.gov/vuln/detail/CVE-2025-5745), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5745 · Whole record: https://cve.day/CVE-2025-5745.json · Rebuilt by cve.day 2026-11-25T22:58:58.803Z
