CVE-2025-68384: X pack security Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-qf7c-7r9h-mm92
CVSS 6.5
CWE-770
Published
Advisory Summary

CVE-2025-68384 is a MODERATE (CVSS 6.5) remote code execution vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting X pack security libraries in the Maven ecosystem. The issue involves elasticsearch has excessive allocation of resources via submission of oversized user settings data. Remediation is available by upgrading affected packages to version 8.19.9, 9.1.9, 9.2.3.

CVE-2025-68384 at a Glance

CVE Identifier CVE-2025-68384
GHSA Identifier GHSA-qf7c-7r9h-mm92
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product X pack security
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-68384

To remediate this vulnerability, upgrade all affected X pack security dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.elasticsearch.plugin:x-pack-security fixed: 8.19.9
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>x-pack-security</artifactId>
    <version>8.19.9</version>
</dependency>
org.elasticsearch.plugin:x-pack-security fixed: 9.1.9
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>x-pack-security</artifactId>
    <version>9.1.9</version>
</dependency>
org.elasticsearch.plugin:x-pack-security fixed: 9.2.3
<dependency>
    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>x-pack-security</artifactId>
    <version>9.2.3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.elasticsearch.plugin

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-68384, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.elasticsearch.plugin

Analyze the terminal output to locate any version of X pack security in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.19.9), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.elasticsearch.plugin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In X pack security, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Allocation of Resources Without Limits or Throttling (CWE-770) in Elasticsearch can allow a low-privileged authenticated user to cause Excessive Allocation (CAPEC-130) causing a persistent denial of service (OOM crash) via submission of oversized user settings data.

CVE-2025-68384 Affected X pack security Versions

3 component(s)
Fixed Versions:
8.19.99.1.99.2.3
Product / Package Ecosystem Affected Versions Fixed Version
org.elasticsearch.plugin:x-pack-security
Maven
< 8.19.9
8.19.9
org.elasticsearch.plugin:x-pack-security
Maven
≥ 9.0.0
< 9.1.9
9.1.9
org.elasticsearch.plugin:x-pack-security
Maven
≥ 9.2.0
< 9.2.3
9.2.3

References

Frequently Asked Questions

What is CVE-2025-68384?
CVE-2025-68384 is a security vulnerability in X pack security involving Elasticsearch has Excessive Allocation of Resources via Submission of Oversized User Settings Data under CWE-770: Allocation of Resources Without Limits or Throttling.
Which X pack security versions are affected?
Affected versions include releases prior to 8.19.9, 9.1.9, 9.2.3 across affected packages: org.elasticsearch.plugin:x-pack-security.
What version fixes CVE-2025-68384?
Upgrading to 8.19.9, 9.1.9, 9.2.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is x-pack-security affected?
Yes, org.elasticsearch.plugin:x-pack-security is affected in releases prior to 8.19.9, 9.1.9, 9.2.3. Upgrade your dependency to 8.19.9, 9.1.9, 9.2.3 or later.
What is the CVSS score of CVE-2025-68384?
CVE-2025-68384 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-68384?
CVE-2025-68384 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Maven dependencies for CVE-2025-68384?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.elasticsearch.plugin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qf7c-7r9h-mm92",
  "modified" : "2025-12-19T19:23:40Z",
  "published" : "2025-12-19T00:31:42Z",
  "aliases" : [ "CVE-2025-68384" ],
  "summary" : "Elasticsearch has Excessive Allocation of Resources via Submission of Oversized User Settings Data",
  "details" : "Allocation of Resources Without Limits or Throttling (CWE-770) in Elasticsearch can allow a low-privileged authenticated user to cause Excessive Allocation (CAPEC-130) causing a persistent denial of service (OOM crash) via submission of oversized user settings data.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.elasticsearch.plugin:x-pack-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.19.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.elasticsearch.plugin:x-pack-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.1.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.elasticsearch.plugin:x-pack-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.2.0"
      }, {
        "fixed" : "9.2.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68384"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/elasticsearch/pull/138691"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/elasticsearch/commit/ab1d99ae033f2a23a8856b47a2d86652ad63a39a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/elasticsearch/commit/b46a4f64baea79c4d3afd58bda39d258de97210a"
  }, {
    "type" : "WEB",
    "url" : "https://discuss.elastic.co/t/elasticsearch-8-19-9-9-1-9-and-9-2-3-security-update-esa-2025-33/384181"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/elastic/elasticsearch"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-19T19:23:40Z",
    "nvd_published_at" : "2025-12-18T22:16:02Z"
  }
}