CVE-2025-46392: Commons configuration Remote Code Execution Vulnerability
LOWCVE-2025-46392 is a LOW remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Commons configuration libraries in the Maven ecosystem. The issue involves apache commons configuration uncontrolled resource consumption. Remediation is available in the latest vendor maintenance releases.
CVE-2025-46392 at a Glance
How to Fix CVE-2025-46392
To remediate this vulnerability, upgrade all affected Commons configuration 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>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=commons-configuration
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-46392, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=commons-configuration
Analyze the terminal output to locate any version of Commons configuration in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=commons-configuration 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Commons configuration, 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-46392 Affected Commons configuration Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
commons-configuration:commons-configuration
|
Maven |
≤ 1.10
|
|
References
Frequently Asked Questions
What is CVE-2025-46392?
Which Commons configuration versions are affected?
What version fixes CVE-2025-46392?
Is commons-configuration affected?
What CWE is associated with CVE-2025-46392?
How can I check Maven dependencies for CVE-2025-46392?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pvp8-3xj6-8c6x",
"modified" : "2025-05-09T15:54:59Z",
"published" : "2025-05-09T12:31:33Z",
"aliases" : [ "CVE-2025-46392" ],
"summary" : "Apache Commons Configuration Uncontrolled Resource Consumption",
"details" : "Uncontrolled Resource Consumption vulnerability in Apache Commons Configuration 1.x.\n\nThere are a number of issues in Apache Commons Configuration 1.x that allow excessive resource consumption when loading untrusted configurations or using unexpected usage patterns. The Apache Commons Configuration team does not intend to fix these issues in 1.x. Apache Commons Configuration 1.x is still safe to use in scenarios where you only load trusted configurations. \n\nUsers that load untrusted configurations or give attackers control over usage patterns are recommended to upgrade to the 2.x version line, which fixes these issues. Apache Commons Configuration 2.x is not a drop-in replacement, but as it uses a separate Maven groupId and Java package namespace they can be loaded side-by-side, making it possible to do a gradual migration.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "commons-configuration:commons-configuration"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46392"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/commons-configuration"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/y1pl0mn3opz6kwkm873zshjdxq3dwq5s"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-29131"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-29133"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-09T15:54:59Z",
"nvd_published_at" : "2025-05-09T10:15:17Z"
}
}