cve.bz

CVE-2025-5702 gnu glibc: Improper Initialization

5.6 mediumEPSS 0.3%

Medium (5.6) in gnu glibc. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
The strcmp implementation optimized for the Power10 processor in the GNU C Library version 2.39 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.

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-06-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-665 Improper Initialization
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-5702 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5702?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5702?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5702 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:glibcfrom 2.39 before 2.39-209
gnu:glibcfrom 2.40 before 2.40-139
gnu:glibcfrom 2.41 before 2.41-60

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14glibc2.41-9DEBIAN-CVE-2025-5702
Ubuntu24.04:LTSglibc2.39-0ubuntu8.5UBUNTU-CVE-2025-5702 USN-7634-1
Red Hatenterprise_linux:9::appstreamglibc-doc, glibc-devel, glibc-utils and 12 more0:2.34-168.el9_6.20RHSA-2025:9877
Red Hatenterprise_linux:9::baseosnscd, glibc, libnsl and 212 more0:2.34-168.el9_6.20RHSA-2025:9877
Red Hatenterprise_linux:9::crbnss_db, nss_hesiod, glibc-static and 12 more0:2.34-168.el9_6.20RHSA-2025:9877
Red Hatenterprise_linux:10.0glibc, libnsl, nss_db and 228 more0:2.39-43.el10_0RHSA-2025:11066
openSUSETumbleweedgrype0.94.0-1.1openSUSE-SU-2025:15227-1
AlmaLinux9nscd, glibc, libnsl and 212 more2.34-168.el9_6.20ALSA-2025:9877
AlmaLinux10glibc-doc2.39-43.el10_0.alma.1ALSA-2025:11066
Rocky Linux9glibc0:2.34-168.el9_6.20RLSA-2025:9877
Rocky Linux10glibc0:2.39-43.el10_0RLSA-2025:11066

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is marked as a Moderate vulnerability rather than an Important one because, while it violates the PowerPC64LE ABI by overwriting non-volatile vector registers (v20 to v31) in the optimized strcmp implementation, its impact is highly context-dependent. The vulnerability does not result in immediate memory corruption, privilege escalation, or remote code execution on its own. It only poses a risk if the overwritten registers were actively holding critical state across the call to strcmp, which is uncommon in typical usage patterns of the function. Moreover, since this issue occurs in an architecture-specific optimization path for Power10 and affects a relatively recent version of glibc (2.39+), its exposure is limited in scope and deployment.

Note that this vulnerability only impacts POWER10 (ppc64le), not POWER9, nor the aarch64, s390x, x86-64 products.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10glibc-0:2.39-43.el10_0Fixed 2025-07-15RHSA-2025:11066
Red Hat Enterprise Linux 9glibc-0:2.34-168.el9_6.20Fixed 2025-06-30RHSA-2025:9877
Red Hat Discovery 2discovery/discovery-server-rhel9:2.0.0-1752592913Fixed 2025-07-21RHSA-2025:11487
Red Hat Enterprise Linux 6compat-glibcNot affected
Red Hat Enterprise Linux 6glibcNot affected
Red Hat Enterprise Linux 7compat-glibcNot affected
Red Hat Enterprise Linux 7glibcNot affected
Red Hat Enterprise Linux 8glibcNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5702.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON