Vulnerabilities in pkg:maven/org.opensearch/opensearch-common
PACKAGECVE-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.
pkg:maven/org.opensearch/opensearch-common
Vulnerability advisories affecting package pkg:maven/org.opensearch/opensearch-common. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mw3v-mmfw-3x2g | CVE-2025-9624 | HIGH | OpenSearch is vulnerable to DoS via complex query_string inputs |
CVE-2025-9624 at a Glance
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.
<dependency>
<groupId>org.opensearch</groupId>
<artifactId>opensearch-common</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>org.opensearch</groupId>
<artifactId>opensearch-common</artifactId>
<version>2.19.4</version>
</dependency>
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
CVE-2025-9624 Affected Opensearch common Versions
2 component(s)| 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?
Which Opensearch common versions are affected?
What version fixes CVE-2025-9624?
Is opensearch-common affected?
What CWE is associated with CVE-2025-9624?
How can I check Maven dependencies for CVE-2025-9624?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}