Skip to content

glibc

The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2.40 and later writes to…

CVE-2025-5745Published 5 Jun 2025, 19:20 UTC

Real-world risk

1.3/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.6

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from glibc)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
glibcCommon= 2.40—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept

EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.45 × threat 0.951.282
  4. Rounded to one decimal between 0.1 and 101.3

How the score works

Exploitation and evidence timeline

  1. 5 Jun 2025 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 1.3 (cvss fallback)

Weakness

CWE-665

References

Get alerts for glibc

Free email or text alerts when a vulnerability in glibc reaches risk 8 or higher. Nothing else.