Ubuntu CVE Tracker
UBUNTU-CVE-2025-48924
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | libcommons-lang-java | All versions before 2.6-3ubuntu2+esm1 (fixed in 2.6-3ubuntu2+esm1) |
| Ubuntu:Pro:14.04:LTS | libcommons-lang3-java | All versions before 3.2.1-1ubuntu0.1~esm1 (fixed in 3.2.1-1ubuntu0.1~esm1) |
| Ubuntu:Pro:16.04:LTS | libcommons-lang-java | All versions before 2.6-6ubuntu2+esm1 (fixed in 2.6-6ubuntu2+esm1) |
| Ubuntu:Pro:16.04:LTS | libcommons-lang3-java | All versions before 3.4-1ubuntu0.1~esm1 (fixed in 3.4-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | libcommons-lang-java | All versions before 2.6-8ubuntu0.1~esm1 (fixed in 2.6-8ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | libcommons-lang3-java | All versions before 3.8-1~18.04.2+esm1 (fixed in 3.8-1~18.04.2+esm1) |
| Ubuntu:Pro:20.04:LTS | libcommons-lang-java | All versions before 2.6-9ubuntu0.20.04.1~esm1 (fixed in 2.6-9ubuntu0.20.04.1~esm1) |
| Ubuntu:Pro:20.04:LTS | libcommons-lang3-java | All versions before 3.8-2ubuntu0.1~esm1 (fixed in 3.8-2ubuntu0.1~esm1) |
| Ubuntu:22.04:LTS | libcommons-lang-java | All versions before 2.6-9ubuntu0.22.04.1 (fixed in 2.6-9ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | libcommons-lang3-java | All versions before 3.11-1ubuntu0.1 (fixed in 3.11-1ubuntu0.1) |
| Ubuntu:24.04:LTS | libcommons-lang-java | All versions before 2.6-10ubuntu0.1 (fixed in 2.6-10ubuntu0.1) |
| Ubuntu:Pro:24.04:LTS | libcommons-lang3-java | All versions before 3.14.0-1ubuntu0.1~esm1 (fixed in 3.14.0-1ubuntu0.1~esm1) |
| Ubuntu:25.10 | libcommons-lang3-java | All versions, no fix listed |