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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4262-1 libcommons-lang-java security update
Debian DLA Debian DLA DLA-4286-1 libcommons-lang3-java security update
Debian DLA Debian DLA DLA-4262-2 libcommons-lang-java regression update
Debian DLA Debian DLA DLA-4286-2 libcommons-lang3-java regression update
EUVD EUVD EUVD-2025-21159 Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs
Github GHSA Github GHSA GHSA-j288-q9x7-2f5v Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 05 Nov 2025 07:30:00 +0900


Tue, 04 Nov 2025 05:30:00 +0900

Type Values Removed Values Added
References

Tue, 04 Nov 2025 04:30:00 +0900


Mon, 28 Jul 2025 23:00:00 +0900

Type Values Removed Values Added
First Time appeared Apache
Apache commons Lang
CPEs cpe:2.3:a:apache:commons_lang:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache commons Lang

Tue, 15 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00028}

epss

{'score': 0.00039}


Tue, 15 Jul 2025 02:15:00 +0900

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 12 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00028}


Sat, 12 Jul 2025 09:15:00 +0900

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Sat, 12 Jul 2025 05:15:00 +0900

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 12 Jul 2025 00:00:00 +0900

Type Values Removed Values 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.
Title Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs
Weaknesses CWE-674
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2025-11-04T22:06:40.023Z

Reserved: 2025-05-28T15:06:51.476Z

Link: CVE-2025-48924

cve-icon Vulnrichment

Updated: 2025-11-04T22:06:40.023Z

cve-icon NVD

Status : Modified

Published: 2025-07-11T15:15:24.347

Modified: 2025-11-04T22:16:17.823

Link: CVE-2025-48924

cve-icon Redhat

Severity : Low

Publid Date: 2025-07-11T14:56:58Z

Links: CVE-2025-48924 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses