CVE-2025-48924Apache Commons Lang
Medium 5.3 No auth needed
Follow: this CVE · Apache · Apache Commons Lang We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 11, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Commons Lang.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | commons-lang:commons-lang |
≥ 2.0 ≤ 2.6 |
no fixed version | — |
| Maven | org.apache.commons:commons-lang3 |
≥ 3.0 < 3.18.0 |
3.18.0 |
— |
Per OSV / GitHub Advisories (GHSA-j288-q9x7-2f5v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_lang | ≥ 2.0 < 2.6 |
| apache | commons_lang | ≥ 3.0 < 3.18.0 |
Official advisories
- Security update for apache-commons-lang3, google-guice, maven, maven-resolver, xmvn · SUSE · SUSE-SU-2026:3390-1 · Jul 28, 2026 Medium
- Security update for apache-commons-lang3, apache-commons-text, apache-commons-configuration2, apache-commons-cli, apache-commons-io, apache-commons-codec · SUSE · SUSE-SU-2026:21996-1 · May 29, 2026 Medium
- apache-commons-configuration2-2.15.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10784-1 · May 16, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com
- lists.debian.org
- lists.debian.org
- lists.debian.org
- lists.debian.org