Skip to content
OpenAdvisories
Medium · 5.6 CVE-2025-5745 EUVD-2025-17018GHSA-7qrf-49g7-25m2

The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2.40 and later writes to vector registers v20 t…

Published Jun 5, 2025 · Updated Jun 5, 2025 · 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.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc 2.40 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.41-9 —
Debian 13 glibc 2.41-9 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS glibc 2.39-0ubuntu8.5 USN-7634-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.41-3.1 openSUSE-SU-2025:15222-1

Advisories 3

References