CVE-2025-48924
Java vulnerability analysis and mitigation

Overview

An Uncontrolled Recursion vulnerability (CVE-2025-48924) was discovered in Apache Commons Lang, affecting versions from commons-lang:commons-lang 2.0 to 2.6 and org.apache.commons:commons-lang3 3.0 before 3.18.0. The vulnerability was disclosed on July 11, 2025, and was identified through OSS-Fuzz Issue 42522972 (NVD, OSS Security).

Technical details

The vulnerability is classified as CWE-674 (Uncontrolled Recursion) and involves the ClassUtils.getClass(...) methods. When presented with very long inputs, these methods can trigger a StackOverflowError. The vulnerability has received a CVSS v3.1 base score of 5.3 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

The primary impact of this vulnerability is potential service disruption. Since StackOverflowError is typically not handled by applications and libraries, its occurrence could cause the affected application to stop functioning. This creates a reliability issue that could affect system availability (OSS Security).

Mitigation and workarounds

Users are strongly recommended to upgrade to Apache Commons Lang version 3.18.0, which contains the fix for this vulnerability. This is currently the only confirmed mitigation strategy (NVD, OSS Security).

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