Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1107366 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
glibc (PTS) | bullseye | 2.31-13+deb11u11 | fixed |
| bullseye (security) | 2.31-13+deb11u13 | fixed |
| bookworm | 2.36-9+deb12u10 | fixed |
| bookworm (security) | 2.36-9+deb12u7 | fixed |
| sid, trixie | 2.41-8 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
glibc | source | bullseye | (not affected) | | | |
glibc | source | bookworm | (not affected) | | | |
glibc | source | (unstable) | (unfixed) | | | 1107366 |
Notes
[bookworm] - glibc <not-affected> (Vulnerable code introduced in 2.40)
[bullseye] - glibc <not-affected> (Vulnerable code introduced in 2.40)
https://sourceware.org/bugzilla/show_bug.cgi?id=33060
https://sourceware.org/pipermail/libc-alpha/2025-June/167405.html
Introduced with: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=23f0d81608d0ca6379894ef81670cf30af7fd081 (glibc-2.40)