CVE-2025-48924
July 11, 2025
Uncontrolled Recursion vulnerability in Apache Commons Lang.
This issue affects Apache Commons Lang: Starting with commons-lang:commons-lang 2.0 to 2.6, and, from org.apache.commons:commons-lang3 3.0 before 3.18.0.
The methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a
StackOverflowError could cause an application to stop.
Users are recommended to upgrade to version 3.18.0, which fixes the issue.
Affected Packages
https://github.com/apache/commons-lang.git (GITHUB):
Affected version(s) >=commons-lang-3.9 <commons-lang-3.18.0Fix Suggestion:
Update to version commons-lang-3.18.0org.apache.commons:commons-lang3 (JAVA):
Affected version(s) >=3.0 <3.18.0Fix Suggestion:
Update to version 3.18.0org.apache.commons:commons-lang3 (JAVA):
Affected version(s) >=3.0 <3.18.0Fix Suggestion:
Update to version 3.18.0Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.02