Uncontrolled Recursion Vulnerability in Apache Commons Lang Affecting Multiple Versions
CVE-2025-48924

6.5MEDIUM

Key Information:

Vendor

Apache

Vendor
CVE Published:
11 July 2025

What is CVE-2025-48924?

A vulnerability exists in Apache Commons Lang that leads to uncontrolled recursion, specifically within the ClassUtils.getClass(...) method. This flaw affects versions 2.0 to 2.6 of commons-lang and up to version 3.0 prior to 3.18.0 of commons-lang3. When processing excessively long input, the method can throw a StackOverflowError, which many applications may not adequately handle. This error can potentially cause application failures, thereby disrupting services. To mitigate this risk, users are strongly advised to upgrade to version 3.18.0 or later, which resolves the issue.

Affected Version(s)

Apache Commons Lang 2.0 <= 2.6

Apache Commons Lang 3.0 < 3.18.0

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

OSS-Fuzz Issue 42522972
.
CVE-2025-48924 : Uncontrolled Recursion Vulnerability in Apache Commons Lang Affecting Multiple Versions