CVE-2025-48924
MEDIUM 5.3CVSS 3.1Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs
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.
- Published
- 11 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-j288-q9x7-2f5v
- Sources
- NVDJSONOSV GHSA-j288-q9x7-2f5vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_langcpe:2.3:a:apache:commons_lang:*:*:*:*:*:*:*:* |
>= 2.0, < 2.6 | 2.6 |
| NVD | apache | commons_langcpe:2.3:a:apache:commons_lang:*:*:*:*:*:*:*:* |
>= 3.0, < 3.18.0 | 3.18.0 |
| OSV | Maven | org.apache.commons:commons-lang3 | >= 3.0, < 3.18.0 | 3.18.0 |
| OSV | Maven | commons-lang:commons-lang | >= 2.0, <= 2.6 |
References
- https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/07/11/1 · WEB
- https://lists.debian.org/debian-lts-announce/2025/08/msg00000.html · WEB
- https://lists.debian.org/debian-lts-announce/2025/08/msg00026.html · WEB
- https://lists.debian.org/debian-lts-announce/2025/09/msg00032.html · WEB
- https://lists.debian.org/debian-lts-announce/2025/09/msg00036.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-48924 · ADVISORY
- https://github.com/apache/commons-lang/commit/b424803abdb2bec818e4fbcb251ce031c22aca53 · WEB
- https://github.com/apache/commons-lang · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 11 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jul 2025)