NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-48924: Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs

mediumCVSS 3.1 6.5GHSA-j288-q9x7-2f5v

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.

Published Jul 11, 2025 · Updated Nov 5, 2025

Affected packages

org.apache.commons:commons-lang3

Ecosystem
Maven
Affected
>= 3.0, < 3.18.0
Fixed in
3.18.0
Check
mvn dependency:tree -Dincludes=org.apache.commons:commons-lang3

commons-lang:commons-lang

Ecosystem
Maven
Affected
>= 2.0, <= 2.6
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=commons-lang:commons-lang

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology