CVE-2025-68390: 
Java vulnerability analysis and mitigation

Overview

CVE-2025-68390 is a resource allocation vulnerability (CWE-770) in Elasticsearch that allows an authenticated user with snapshot restore privileges to cause excessive memory allocation and a denial of service (DoS) via a crafted HTTP request. It was published on December 18, 2025, and affects Elasticsearch versions 7.0.0–7.17.29, 8.0.0–8.19.7, 9.0.0–9.1.7, and 9.2.0–9.2.1. The vulnerability carries a CVSS v3.1 base score of 4.9 (Medium) (GitHub Advisory, Elastic Advisory).

Technical details

The root cause is classified as CWE-770 (Allocation of Resources Without Limits or Throttling), specifically in the org.elasticsearch.plugin:x-pack-core Maven package. An authenticated attacker with snapshot restore privileges can send a specially crafted HTTP request that triggers excessive memory allocation (CAPEC-130) without any enforced upper bound, exhausting available heap memory. Exploitation requires network access and high-privilege credentials (snapshot restore role), but no user interaction. The underlying code change is tracked in the Elasticsearch repository as issue #138132 (GitHub Advisory).

Impact

Successful exploitation results in a high availability impact — the targeted Elasticsearch instance can become unresponsive or crash due to memory exhaustion, constituting a denial of service. There is no confidentiality or integrity impact, as the vulnerability does not expose data or allow unauthorized modification. In clustered deployments, crashing a node could degrade or disrupt the entire cluster's availability, affecting dependent applications and data pipelines (GitHub Advisory, Elastic Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.119–0.268%, placing it in the 51st percentile for exploitation probability within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for authenticated access with snapshot restore privileges, limiting the attacker pool to insiders or compromised privileged accounts.

Exploitation steps

  1. Obtain credentials: Acquire valid Elasticsearch credentials for an account with snapshot restore privileges (e.g., through credential theft, insider access, or compromise of a service account).
  2. Identify target: Locate an Elasticsearch instance running a vulnerable version (7.0.0–7.17.29, 8.0.0–8.19.7, 9.0.0–9.1.7, or 9.2.0–9.2.1) accessible over the network.
  3. Craft malicious HTTP request: Construct a specially crafted HTTP request targeting the snapshot restore API endpoint that triggers unbounded memory allocation within the x-pack-core plugin.
  4. Send request: Submit the crafted request to the Elasticsearch REST API (typically port 9200) using the privileged credentials.
  5. Trigger DoS: The server allocates excessive memory without throttling, leading to heap exhaustion, JVM out-of-memory errors, and node crash or unresponsiveness (GitHub Advisory).

Indicators of compromise

  • Network: Unusual or repeated HTTP requests to Elasticsearch snapshot restore API endpoints (e.g., /_snapshot/*/restore) from unexpected source IPs or at abnormal frequency.
  • Logs: Elasticsearch logs showing OutOfMemoryError or JVM heap exhaustion events; repeated snapshot restore API calls in elasticsearch.log or audit logs from a single user account.
  • Process: Elasticsearch JVM process consuming abnormally high memory (approaching or exceeding configured heap limits); node dropping out of cluster membership unexpectedly.
  • System: Operating system OOM killer events targeting the Elasticsearch process; sudden node restarts or cluster health degrading to red or yellow status.

Mitigation and workarounds

Elastic has released patched versions addressing this vulnerability: 8.19.8, 9.1.8, and 9.2.2. Users on the 7.x branch (7.0.0–7.17.29) should upgrade to a supported 8.x or 9.x release, as no patch is indicated for the 7.x line. As interim workarounds, restrict snapshot restore privileges to only trusted and necessary accounts, implement network-level access controls to limit exposure of the Elasticsearch management interface, and monitor for unusual memory allocation patterns (Elastic Advisory, GitHub Advisory).

Community reactions

The vulnerability received routine coverage from vulnerability tracking platforms and security aggregators shortly after disclosure in December 2025. A Nessus detection plugin (ID 279426) was published by Tenable, and the CVE was referenced in a NetEye security advisory in January 2026 and a Splunk advisory in May 2026, indicating downstream product impact. No notable researcher commentary or significant social media discussion has been identified beyond standard CVE tracking (Elastic Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

xenial (esm-apps-legacy)

elasticsearch

Unknown

RHEL / CentOS

Affected

OpenShift

elasticsearch-core

Affected

Source: This report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-111765HIGH7.5
  • Java logoJava
  • org.a2aproject.sdk:a2a-java-sdk-http-client-android
NoYesOct 20, 2026
CVE-2026-102834HIGH7.5
  • Java logoJava
  • org.bytedeco:javacv
NoYesOct 16, 2026
CVE-2026-111763MEDIUM5.7
  • Java logoJava
  • org.a2aproject.sdk:a2a-java-sdk-parent
NoYesOct 20, 2026
CVE-2026-111762MEDIUM5.7
  • Java logoJava
  • org.a2aproject.sdk:a2a-java-sdk-transport-rest
NoYesOct 20, 2026
CVE-2026-113730MEDIUM5.6
  • Java logoJava
  • ognl
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management