CVE-2025-48924
Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs
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.
INFO
Published Date :
July 11, 2025, 3:15 p.m.
Last Modified :
July 28, 2025, 1:45 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update Apache Commons Lang to version 3.18.0.
- Upgrade to a newer version of commons-lang3.
Public PoC/Exploit Available at Github
CVE-2025-48924 has a 10 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-48924
.
URL | Resource |
---|---|
https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1 | Mailing List Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-48924
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-48924
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A production-ready Spring Boot multi-module project template built with Kotlin. It follows Hexagonal Architecture (Ports and Adapters) principles and Domain-Driven Design (DDD) patterns to ensure maintainability, testability, and scalability.
clean-architecture gradle-kotlin-dsl hexagonal-architecture springboot3 kotlin gradle version-catalog domain-driven-design multimodule
Kotlin Shell
None
Java
Demo api giving access to builtin Reunion Island altitude info
Java
An intermediary layer that links the frontend and backend to handle loan data.
Java
None
None
Python
DSA and DLA for Debian last 14 days
Python
None
Dockerfile Shell Makefile
Convert a MSAccess database into a Excel spreadsheet.
Java
General utility library
Shell Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-48924
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-48924
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 28, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:commons_lang:*:*:*:*:*:*:*:* versions from (including) 2.0 up to (excluding) 2.6 *cpe:2.3:a:apache:commons_lang:*:*:*:*:*:*:*:* versions from (including) 3.0 up to (excluding) 3.18.0 Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1 Types: Mailing List, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Removed CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 11, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N -
New CVE Received by [email protected]
Jul. 11, 2025
Action Type Old Value New Value Added 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. Added CWE CWE-674 Added Reference https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1