CVE-2025-48924
Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs
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.
How to fix CVE-2025-48924
To remediate CVE-2025-48924, upgrade the affected package to a fixed version below.
- —upgrade to 3.11-1+deb11u1 or later
- —upgrade to 3.11-1+deb11u1 or later
- —upgrade to 2.6-9+deb11u1 or later
- —upgrade to 2.6-9+deb11u1 or later
- —no fix listed
- —upgrade to 3.18.0 or later
Is CVE-2025-48924 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 3.11-1+deb11u1
- from 0, < 3.11-1+deb11u1
- from 0, < 2.6-9+deb11u1
- from 0, < 2.6-9+deb11u1
- >= 2.0, <= 2.6
- >= 3.0, < 3.18.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |