
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-48924 is an Uncontrolled Recursion vulnerability in Apache Commons Lang that allows unauthenticated network attackers to trigger a StackOverflowError by supplying very long inputs to the ClassUtils.getClass(...) method, potentially causing the application to crash. It affects commons-lang:commons-lang versions 2.0 through 2.6 and org.apache.commons:commons-lang3 versions 3.0 through 3.17.x. The vulnerability was disclosed on July 11, 2025, with the fix available in commons-lang3 3.18.0. It carries a CVSS v3.1 base score of 5.3 (Medium) (Red Hat Advisory, OSS-Security).
The root cause is CWE-674 (Uncontrolled Recursion): the ClassUtils.getClass(...) method in Apache Commons Lang performs recursive processing without adequate depth limits, causing a StackOverflowError when given a sufficiently long class name string as input. Because StackOverflowError is a Java Error (not an Exception), it is typically not caught by application or library error handlers, meaning the JVM thread — and potentially the entire application — can be terminated. The vulnerability was discovered via OSS-Fuzz (Issue 42522972) and requires no authentication or special privileges to trigger over a network if the affected method is reachable through a user-controlled input path (OSS-Security, Apache Mailing List).
Successful exploitation results in a Denial of Service (DoS): the targeted application crashes or becomes unavailable due to an unhandled StackOverflowError. There is no confidentiality or integrity impact — the vulnerability is limited to availability. Downstream products that embed Apache Commons Lang and expose ClassUtils.getClass(...) to user-controlled input are also affected, including IBM Business Automation Manager Open Editions, IBM API Connect, IBM Guardium Data Security Center, IBM Db2 on Cloud Pak for Data, Oracle GoldenGate Stream Analytics, and Oracle Database Server (Red Hat Advisory, Oracle CPU Jan 2026, Oracle CPU Apr 2026).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.028% (very low probability of exploitation in the near term). Exploitation requires sending a crafted request with a very long input string to an application endpoint that internally invokes ClassUtils.getClass(...), which limits practical exploitability to applications that expose this code path to external input (Red Hat Advisory, OSS-Security).
ClassUtils.getClass(...) with user-supplied input (e.g., class-loading endpoints, serialization handlers, or reflection-based APIs).ClassUtils.getClass(...).StackOverflowError that propagates uncaught through the application, causing the thread or application to terminate and resulting in a denial of service (OSS-Security, Apache Mailing List).java.lang.StackOverflowError stack traces originating from org.apache.commons.lang3.ClassUtils.getClass(...) or org.apache.commons.lang.ClassUtils.getClass(...).The primary remediation is to upgrade Apache Commons Lang to version 3.18.0 or later, which fixes the uncontrolled recursion in ClassUtils.getClass(...). For legacy systems still using the 2.x branch (commons-lang:commons-lang), upgrade to version 2.7 or migrate to the commons-lang3 library at version 3.18.0 or later. Downstream product users should apply vendor-specific patches: Oracle addressed this in the January 2026 and April 2026 Critical Patch Updates; IBM has released fixes for affected products including API Connect, Guardium Data Security Center, and Db2 on Cloud Pak for Data; Debian LTS, Red Hat, SUSE, and Ubuntu have also issued security updates. As a temporary workaround, validate and limit the length of user-supplied class name inputs before they reach the affected API (Apache Mailing List, Oracle CPU Jan 2026, Oracle CPU Apr 2026).
The vulnerability was reported by OSS-Fuzz (Issue 42522972) and disclosed by Gary D. Gregory of the Apache Commons project via the oss-security mailing list on July 11, 2025. Community reaction on Reddit's r/java included some commentary on the broader implications for widely-used Apache Commons libraries. Security aggregators such as Red Packet Security and Mastodon/Bluesky infosec accounts noted the disclosure shortly after publication. The vulnerability has been broadly picked up by Linux distribution security teams (Debian, Red Hat, SUSE, Ubuntu, Mageia, openSUSE) and enterprise vendors (IBM, Oracle, Splunk), reflecting the wide deployment of Apache Commons Lang across the Java ecosystem (OSS-Security, Red Hat Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."