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

Mon, 28 Jul 2025 14:00:00 +0000

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 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00028}

epss

{'score': 0.00039}


Mon, 14 Jul 2025 17:15:00 +0000

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 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00028}


Sat, 12 Jul 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Fri, 11 Jul 2025 20:15:00 +0000

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'}


Fri, 11 Jul 2025 15:00:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2025-07-14T16:37:02.057Z

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

Link: CVE-2025-48924

cve-icon Vulnrichment

Updated: 2025-07-11T20:10:08.183Z

cve-icon NVD

Status : Analyzed

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

Modified: 2025-07-28T13:45:38.647

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.