CVE-2025-46392: Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x

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.

Classification

CVE ID: CVE-2025-46392

Problem Types

CWE-400 Uncontrolled Resource Consumption

Affected Products

Vendor: Apache Software Foundation

Product: Apache Commons Configuration

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.34% (scored less or equal to compared to others)

EPSS Date: 2025-05-20 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-46392
https://www.cve.org/CVERecord?id=CVE-2024-29131
https://www.cve.org/CVERecord?id=CVE-2024-29133
https://lists.apache.org/thread/y1pl0mn3opz6kwkm873zshjdxq3dwq5s

Timeline