Vulnerabilities

CVE-2025-48924

Medium 5.3 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2025-07-11
Last modified
2026-06-17
Assigned by
security@apache.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
2.2 % higher than 80 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Apache Commons Lang ≥ 2.0, < 2.6 Affected
Apache Commons Lang ≥ 3.0, < 3.18.0 Affected
commons-lang commons-lang (Maven) ≥ 2.0, ≤ 2.6 Affected
org.apache.commons commons-lang3 (Maven) ≥ 3.0, < 3.18.0 Affected

Weakness type

  • CWE-674: Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities