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.
History

Fri, 06 Jun 2025 19:00:00 +0000

Type Values Removed Values Added
Title glibc: Vector register overwrite bug in glibc
Weaknesses CWE-404
References
Metrics threat_severity

None

threat_severity

Important


Thu, 05 Jun 2025 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 05 Jun 2025 19:30:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: glibc

Published: 2025-06-05T19:20:23.405Z

Updated: 2025-06-05T20:13:51.068Z

Reserved: 2025-06-05T19:15:09.234Z

Link: CVE-2025-5745

cve-icon Vulnrichment

Updated: 2025-06-05T20:13:07.084Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-06-05T20:15:27.377

Modified: 2025-06-06T14:07:28.330

Link: CVE-2025-5745

cve-icon Redhat

Severity : Important

Publid Date: 2025-06-05T19:20:23Z

Links: CVE-2025-5745 - Bugzilla