CVEvulnerability

CVE-2025-5745

5.6 MEDIUM Published 2025-06-05 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-06-05
Last modified
2026-06-17
Assigner
3ff69d7a-14f2-4f67-a097-88dee7810d18
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.6 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-665

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 configurations

• gnu glibc (>= 2.40 < 2.40-136) • gnu glibc (>= 2.41 < 2.41-57)

Related

Weakness · CWE (1)

  • CWE-665 Improper Initialization weakness

References