CVE-2025-46392
Java vulnerability analysis and mitigation

Overview

CVE-2025-46392 is an Uncontrolled Resource Consumption vulnerability discovered in Apache Commons Configuration 1.x, disclosed on May 9, 2025. The vulnerability affects systems using Apache Commons Configuration 1.x that process untrusted configurations or encounter unexpected usage patterns (NVD, Wiz).

Technical details

The vulnerability is classified as an Uncontrolled Resource Consumption issue (CWE-400). When Apache Commons Configuration 1.x processes untrusted configurations or encounters unexpected usage patterns, it can lead to excessive resource consumption, potentially resulting in a StackOverflowError. The CVSS v3.1 base score is 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD, Wiz).

Impact

The vulnerability can lead to excessive resource consumption in systems that process untrusted configurations, potentially affecting system performance and stability. The impact is specifically limited to scenarios where untrusted configurations are loaded or when attackers can control usage patterns (NVD, Wiz).

Mitigation and workarounds

Users who load untrusted configurations or give attackers control over usage patterns are recommended to upgrade to the 2.x version line, which addresses these issues. While Apache Commons Configuration 2.x is not a drop-in replacement, it uses a separate Maven groupId and Java package namespace, allowing for side-by-side loading and gradual migration. For users who can ensure only trusted configurations are loaded, continuing to use version 1.x remains safe (NVD, Red Hat).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management