VDB

CVE-2025-5745

CVE-2025-5745 PUBLISHED CVSS 5.6 MEDIUM

Reported by glibc · Published June 5, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
glibcgnu2.41-57, 2.40-136

Risk scores

CVSS 3.1
5.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
The GNU C Libraryglibc2.40
wolfiglibc*
The GNU C Libraryglibc2.40
chainguardglibc*

Timeline

  • Jun 5, 2025 CVE Published
  • Jun 5, 2025 CVE Updated
  • Jun 6, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 13, 2025 Coalition ESS Score (8 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (5 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-5745
vulnetix vdb fixes CVE-2025-5745

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5745/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›