CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Lifecycle Timeline
4Description
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.
Analysis
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.
Technical Context
A denial of service vulnerability allows an attacker to disrupt the normal functioning of a system, making it unavailable to legitimate users. This vulnerability is classified as Uncontrolled Recursion (CWE-674).
Affected Products
Affected products: Apache Commons Lang
Remediation
Implement rate limiting and input validation. Use timeout mechanisms for resource-intensive operations. Deploy DDoS protection where applicable.
Priority Score
Vendor Status
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| trusty | needs-triage | - |
| xenial | needs-triage | - |
| bionic | needs-triage | - |
| focal | needs-triage | - |
| jammy | needs-triage | - |
| noble | needs-triage | - |
| upstream | needs-triage | - |
| questing | needs-triage | - |
| plucky | ignored | end of life, was needs-triage |
| Release | Status | Version |
|---|---|---|
| bionic | needed | - |
| focal | needed | - |
| questing | needed | - |
| plucky | ignored | end of life, was needs-triage |
| jammy | needed | - |
| noble | needed | - |
| trusty | needed | - |
| upstream | released | 3.18.0 |
| xenial | needed | - |
Debian
Bug #1109126| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | fixed | 2.6-9+deb11u1 | - |
| bullseye (security) | fixed | 2.6-9+deb11u2 | - |
| bookworm | fixed | 2.6-10+deb12u1 | - |
| trixie | fixed | 2.6-10+deb13u1 | - |
| forky, sid | fixed | 2.6-12 | - |
| (unstable) | fixed | 2.6-11 | - |
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | fixed | 3.11-1+deb11u1 | - |
| bullseye (security) | fixed | 3.11-1+deb11u2 | - |
| bookworm | fixed | 3.12.0-2+deb12u1 | - |
| trixie | fixed | 3.17.0-1+deb13u1 | - |
| forky, sid | fixed | 3.17.0-2 | - |
| (unstable) | fixed | 3.17.0-2 | - |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-21159
GHSA-j288-q9x7-2f5v