# Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs

Advisory record · `GHSA-j288-q9x7-2f5v`

- **Identifiers:** `GHSA-j288-q9x7-2f5v` · `CVE-2025-48924`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-674](https://cwe.mitre.org/data/definitions/674.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 11 Jul 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 11 Jul 2025, 15:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.commons:commons-lang3` (Maven): affected `>=3.0, <3.18.0`; fixed in `3.18.0`
- `commons-lang:commons-lang` (Maven): affected `>=2.0, <=2.6`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Commons Lang versions commons-lang3 3.0 to before 3.18.0 and commons-lang 2.0 to 2.6 are vulnerable to uncontrolled recursion. Very long inputs to ClassUtils.getClass can cause a StackOverflowError, which may stop an application. Upgrade commons-lang3 to 3.18.0; no fixed version is listed for commons-lang 2.x.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.026, the 85th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:17 UTC: First seen by agentprime
- 31 Oct 2026, 14:17 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-j288-q9x7-2f5v)

## Sources

- [GitHub Advisory Database: GHSA-j288-q9x7-2f5v](https://github.com/advisories/GHSA-j288-q9x7-2f5v)
- [OSV: GHSA-j288-q9x7-2f5v](https://osv.dev/vulnerability/GHSA-j288-q9x7-2f5v)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48924>
- <https://github.com/apache/commons-lang/commit/b424803abdb2bec818e4fbcb251ce031c22aca53>
- <https://github.com/apache/commons-lang>
- <https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1>
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00000.html>
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00026.html>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00032.html>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00036.html>
- <http://www.openwall.com/lists/oss-security/2025/07/11/1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-j288-q9x7-2f5v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-j288-q9x7-2f5v/>. Everything for agents: <https://agentprime.io/llms.txt>.
