Vulnerability in Apache Commons Lang
CVE-2025-48924
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 · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.026, 85.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Commons Lang
- Apache Software Foundation Commons Lang — versions 2.0, 3.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- njawalkar/apache-commons-lang2 (last pushed 2025-11-04): Apache's commons-lang2 v2.6 with a backported fix for CVE-2025-48924
Also mentioned in 15 other repositories (ARPSyndicate/cve-scores, awakelife93/kotlin-clean-architecture-multimodule, Codegass/AAA-Issue-Refactor, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1 (vendor-advisory, Mailing List, Vendor Advisory)
- www.openwall.com/lists/oss-security/2025/07/11/1
- lists.debian.org/debian-lts-announce/2025/08/msg00000.html
- lists.debian.org/debian-lts-announce/2025/08/msg00026.html
- lists.debian.org/debian-lts-announce/2025/09/msg00032.html
- lists.debian.org/debian-lts-announce/2025/09/msg00036.html
This CVE has public exploit evidence. See the latest CVEs with public exploits.