CVE-2025-9624: Opensearch common Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-mw3v-mmfw-3x2g
CWE-674
Published
Advisory Summary

CVE-2025-9624 is a HIGH denial of service vulnerability (CWE-674: Uncontrolled Recursion) affecting Opensearch common libraries in the Maven ecosystem. The issue involves opensearch is vulnerable to dos via complex query_string inputs. Remediation is available by upgrading affected packages to version 3.3.0, 2.19.4.

CVE-2025-9624 at a Glance

CVE Identifier CVE-2025-9624
GHSA Identifier GHSA-mw3v-mmfw-3x2g
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-674: Uncontrolled Recursion
Affected Product Opensearch common
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-9624

To remediate this vulnerability, upgrade all affected Opensearch common 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.opensearch:opensearch-common fixed: 3.3.0
<dependency>
    <groupId>org.opensearch</groupId>
    <artifactId>opensearch-common</artifactId>
    <version>3.3.0</version>
</dependency>
org.opensearch:opensearch-common fixed: 2.19.4
<dependency>
    <groupId>org.opensearch</groupId>
    <artifactId>opensearch-common</artifactId>
    <version>2.19.4</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.opensearch

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.opensearch

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

Note: The mvn dependency:tree -Dincludes=org.opensearch 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-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In Opensearch common, 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

A vulnerability in OpenSearch allows attackers to cause Denial of Service (DoS) by submitting complex query_string inputs. This issue affects all OpenSearch versions below 2.19.4 and versions 3.0.0 through 3.2.0.

CVE-2025-9624 Affected Opensearch common Versions

2 component(s)
Fixed Versions:
3.3.02.19.4
Product / Package Ecosystem Affected Versions Fixed Version
org.opensearch:opensearch-common
Maven
≥ 3.0.0
< 3.3.0
3.3.0
org.opensearch:opensearch-common
Maven
< 2.19.4
2.19.4

References

Frequently Asked Questions

What is CVE-2025-9624?
CVE-2025-9624 is a security vulnerability in Opensearch common involving OpenSearch is vulnerable to DoS via complex query_string inputs under CWE-674: Uncontrolled Recursion.
Which Opensearch common versions are affected?
Affected versions include releases prior to 3.3.0, 2.19.4 across affected packages: org.opensearch:opensearch-common.
What version fixes CVE-2025-9624?
Upgrading to 3.3.0, 2.19.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opensearch-common affected?
Yes, org.opensearch:opensearch-common is affected in releases prior to 3.3.0, 2.19.4. Upgrade your dependency to 3.3.0, 2.19.4 or later.
What CWE is associated with CVE-2025-9624?
CVE-2025-9624 is classified under CWE-674: Uncontrolled Recursion (The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.).
How can I check Maven dependencies for CVE-2025-9624?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opensearch'. 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-mw3v-mmfw-3x2g",
  "modified" : "2026-01-22T13:50:34Z",
  "published" : "2025-11-25T21:32:07Z",
  "aliases" : [ "CVE-2025-9624" ],
  "summary" : "OpenSearch is vulnerable to DoS via complex query_string inputs",
  "details" : "A vulnerability in OpenSearch allows attackers to cause Denial of Service (DoS) by submitting complex query_string inputs.\n\nThis issue affects all OpenSearch versions below 2.19.4 and versions 3.0.0 through 3.2.0.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch:opensearch-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.3.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch:opensearch-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.19.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9624"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/OpenSearch/pull/19491"
  }, {
    "type" : "WEB",
    "url" : "https://caverav.cl/posts/opensearch-dos/opensearch-dos"
  }, {
    "type" : "WEB",
    "url" : "https://fluidattacks.com/advisories/chick"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opensearch-project/OpenSearch"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/OpenSearch/releases/tag/2.19.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/OpenSearch/releases/tag/3.3.0"
  }, {
    "type" : "WEB",
    "url" : "https://opensearch.org/blog/explore-opensearch-3-3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-674" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-26T22:10:36Z",
    "nvd_published_at" : "2025-11-25T20:16:01Z"
  }
}