Resource management error in Glibc - CVE-2025-5745

 

Resource management error in Glibc - CVE-2025-5745

Published: June 24, 2025


Vulnerability identifier: #VU111873
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-5745
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Glibc

Detailed vulnerability description

The vulnerability allows a remote attacker to alter application's behavior.

The vulnerability exists due to an error in strncmp implementation optimized for the Power10 processor. The function 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.


How to mitigate CVE-2025-5745

Install updates from vendor's website.

Sources