Vulnerability · Published Jun 5, 2025 · Assigned by glibc

CVE-2025-5745

Medium 5.6

In plain English

A medium-severity security flaw in glibc from The GNU C Library. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.3%top 81.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13glibc2.41-9DEBIAN-CVE-2025-5745
Debian:14glibc2.41-9DEBIAN-CVE-2025-5745
Ubuntu:24.04:LTSglibc2.39-0ubuntu8.5USN-7634-1

Affected products (as reported)

VendorProductVersions
The GNU C Library glibc 2.40

Weakness: CWE-665 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

References