CVE-2025-48924: CWE-674 Uncontrolled Recursion in Apache Software Foundation Apache Commons Lang
CVE-2025-48924 is an uncontrolled recursion vulnerability in Apache Commons Lang affecting versions 2.0 through 2.6 and 3.0 through before 3.18.0. The issue occurs in the ClassUtils.getClass(... ) method, which can throw a StackOverflowError when processing very long inputs. Since StackOverflowError is typically not caught by applications, this can cause the affected application to crash or stop unexpectedly.
AI Analysis
Technical Summary
This vulnerability in Apache Commons Lang arises from uncontrolled recursion in the ClassUtils.getClass(...) method. When given very long inputs, the method may cause a StackOverflowError, leading to application termination. The flaw affects commons-lang versions 2.0 to 2.6 and commons-lang3 versions 3.0 up to but not including 3.18.0. The vendor has fixed the issue in version 3.18.0.
Potential Impact
The vulnerability can cause denial of service by crashing applications that use the affected versions of Apache Commons Lang when processing certain inputs that trigger uncontrolled recursion. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Users should upgrade to Apache Commons Lang version 3.18.0 or later, where this issue is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory recommending the upgrade.
CVE-2025-48924: CWE-674 Uncontrolled Recursion in Apache Software Foundation Apache Commons Lang
Description
CVE-2025-48924 is an uncontrolled recursion vulnerability in Apache Commons Lang affecting versions 2.0 through 2.6 and 3.0 through before 3.18.0. The issue occurs in the ClassUtils.getClass(... ) method, which can throw a StackOverflowError when processing very long inputs. Since StackOverflowError is typically not caught by applications, this can cause the affected application to crash or stop unexpectedly.
CVSS v3.1
Score 5.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Apache Commons Lang arises from uncontrolled recursion in the ClassUtils.getClass(...) method. When given very long inputs, the method may cause a StackOverflowError, leading to application termination. The flaw affects commons-lang versions 2.0 to 2.6 and commons-lang3 versions 3.0 up to but not including 3.18.0. The vendor has fixed the issue in version 3.18.0.
Potential Impact
The vulnerability can cause denial of service by crashing applications that use the affected versions of Apache Commons Lang when processing certain inputs that trigger uncontrolled recursion. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Users should upgrade to Apache Commons Lang version 3.18.0 or later, where this issue is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory recommending the upgrade.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- apache
- Date Reserved
- 2025-05-28T15:06:51.476Z
- State
- PUBLISHED
Threat ID: 68712732a83201eaacaf3f8f
Added to database: 07/11/2025, 15:01:06 UTC
Last enriched: 06/03/2026, 21:24:11 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 1488
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.