Vulnerabilities

CVE-2025-5745

Medium 5.6 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-06-05
Last modified
2026-06-17
Assigned by
3ff69d7a-14f2-4f67-a097-88dee7810d18
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.2 % higher than 12 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Gnu Glibc ≥ 2.40, < 2.40-136 Affected
Gnu Glibc ≥ 2.41, < 2.41-57 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities