CVE-2025-5745

Medium

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.

SeverityMedium
CVSS5.6
Exploit probability—
ProductGnu Glibc
PublishedJun 5, 2025
First seenJun 5, 2025
Weakness typeCWE-665CWE-665

How to fix

Update
  • gnu glibc2.40-136, 2.41-57 or later

Affected products

ProductAffected versionsFixed in
gnu glibc2.40 ≤ v < 2.40-136, 2.41 ≤ v < 2.41-572.40-136, 2.41-57

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-5745 · Gnu Glibc · Dark Radar