# CVE-2025-48924: Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.92%, higher than 81% of CVEs (2026-11-30)
- Published: 2025-07-11T14:56:58.049Z
- Modified: 2026-09-10T03:50:26.176Z
- Also known as: GHSA-j288-q9x7-2f5v
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- commons-lang:commons-lang: from 2.0 up to 2.6
- org.apache.commons:commons-lang3: from 3.0 before 3.18.0
- org.apache.commons:commons-lang3 (Maven): from 3.0 before 3.18.0
- commons-lang:commons-lang (Maven): from 2.0 up to 2.6
- apache commons_lang: from 2.0 before 2.6; from 3.0 before 3.18.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1> (mailing-list, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00032.html> (web)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00026.html> (web)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00000.html> (web)
- <http://www.openwall.com/lists/oss-security/2025/07/11/1> (web)
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00036.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48924> (advisory)
- <https://github.com/apache/commons-lang/commit/b424803abdb2bec818e4fbcb251ce031c22aca53> (web)
- <https://github.com/apache/commons-lang> (package)

## Sources

- CVE List: [CVE-2025-48924](https://www.cve.org/CVERecord?id=CVE-2025-48924), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-j288-q9x7-2f5v](https://github.com/advisories/GHSA-j288-q9x7-2f5v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-48924](https://nvd.nist.gov/vuln/detail/CVE-2025-48924), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48924 · Whole record: https://cve.day/CVE-2025-48924.json · Rebuilt by cve.day 2026-11-25T22:59:01.147Z
