- CVE ID
- CVE-2025-48924
- CVE Description
- 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.
- Published
- Jul 14, 2025
- CVSS Score & Severity
6.9Medium
- CVSS Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS Score
- 0.135%
- KEV Status
Not in KEV Catalog: No known exploits
- Vulnerable Methods
org/apache/commons/lang/ClassUtils.getClass(Ljava/lang/ClassLoader;Ljava/lang/String;Z)Ljava/lang/Class;JVMVulnerable params: 1
org/apache/commons/lang3/ClassUtils.getClass(Ljava/lang/ClassLoader;Ljava/lang/String;Z)Ljava/lang/Class;JVMVulnerable params: 1
- Source
- National Vulnerability Database