CVE-2025-5745

State
Published
Severity
5.6 Medium
Published
Jun 5, 2025
Updated
Jun 5, 2025
Reserved
Jun 5, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LCISA-ADP

Weaknesses

Affected Products

ProductVersions
glibcThe GNU C Library
  • 2.40Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.