CVE-2025-48924
Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs
Reported by apache · Published July 11, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| neo4j-2025.05 | Wolfi | 2025.05.1-r1 |
| kafka-3.8 | Wolfi | 3.8.1-r43 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Commons Lang | 2.0 |
| Apache Software Foundation | Apache Commons Lang | 3.0 |
| wolfi | neo4j-2025.05 | 0 |
| wolfi | kafka-3.8 | 0 |
| apache | commons_lang | |
| chainguard | zipkin | 0 |
| Maven | org.apache.commons:commons-lang3 | 3.0 |
| chainguard | hadoop-fips-3.3.6 | 0 |
| wolfi | infinispan-15.2 | 0 |
| Maven | commons-lang:commons-lang | 2.0 |
| wolfi | cassandra-4.1 | 0 |
| chainguard | nextflow | 0 |
| chainguard | liquibase | 0 |
| wolfi | spark-4.1 | 0, 0 |
| chainguard | hadoop-fips-3.4.2 | 0 |
| chainguard | tritonserver-backend-vllm-24.04 | 0 |
| wolfi | cassandra-reaper | 0 |
| chainguard | elasticsearch-8.17 | 0 |
| wolfi | jenkins-2 | 0 |
| chainguard | debezium-connector-spanner-3.5 | 0 |
…and 152 more
Timeline
- Jul 11, 2025 CVE Published
- Jul 12, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (28 in total, the first dated here)
- Jun 6, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-48924
vulnetix vdb fixes CVE-2025-48924
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48924/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/09/msg00032.html url
- https://lists.debian.org/debian-lts-announce/2025/08/msg00026.html url
- https://lists.debian.org/debian-lts-announce/2025/08/msg00000.html url
- http://www.openwall.com/lists/oss-security/2025/07/11/1 url
- https://lists.debian.org/debian-lts-announce/2025/09/msg00036.html url
- https://nvd.nist.gov/vuln/detail/CVE-2025-48924 advisory
- https://github.com/advisories/GHSA-j288-q9x7-2f5v advisory
- https://github.com/apache/commons-lang/commit/b424803abdb2bec818e4fbcb251ce031c22aca53 patch
- https://github.com/apache/commons-lang url