CVE-2025-46392 Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x
Attackers can cause excessive resource consumption by loading untrusted configurations, requiring migration to version 2.x.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-46392?
CVE-2025-46392 is a medium-severity denial of service vulnerability in Apache Commons Configuration, published on 9 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Uncontrolled Resource Consumption vulnerability in Apache Commons Configuration 1.x.
There 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 scenario's where you only load trusted configurations.
Users 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.
Weakness: CWE-400
Which versions are affected by CVE-2025-46392?
2 open source packages ship an affected version, including commons-configuration:commons-configuration. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
commons-configuration:commons-configuration Maven | All versions to 1.10 | None |
commons-configuration:commons-configuration Maven | All versions to 1.10 | None |
Products include Apache Commons Configuration.
How do I fix CVE-2025-46392?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-46392 being exploited?
There is no known exploitation of CVE-2025-46392 in the wild and no public exploit code.
Other vulnerabilities in Apache Commons Configuration
- CVE-2020-1953 Remote code execution in Apache Commons Configuration
- CVE-2022-33980 Apache Commons Configuration insecure interpolation defaults
- CVE-2024-29131 Apache Commons Configuration: StackOverflowError adding property in AbstractListDelimiterHandler.flattenIterator()
- CVE-2024-29133 Apache Commons Configuration: StackOverflowError calling ListDelimiterHandler.flatten(Object, int) with a cyclical object tree
- CVE-2026-45205 Apache Commons Configuration: StackOverflowError for YAML input with cycles
Sources
Also known as CLEANSTART-2026-RH95647, CLEANSTART-2026-UM71044, CLSA-2026-1791205000, CLSA-2026-1792010667, CLSA-2026-1792014556, DEBIAN-CVE-2025-46392 and 2 more.