Skip to main content
EPSS 2.3%top 18%

CVE-2025-48924: CWE-674 Uncontrolled Recursion in Apache Software Foundation Apache Commons Lang

0
Medium
VulnerabilityCVE-2025-48924cvecve-2025-48924cwe-674
Published: 07/11/2025 (07/11/2025, 14:56:58 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

Affected versions
=2.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 21:24:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses