# CVE-2026-45205: Apache Commons Configuration: StackOverflowError for YAML input with cycles

> Attackers can cause a denial of service via StackOverflowError by providing YAML input with cycles to Apache Commons Configuration.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 14 May 2026
- **Updated:** 14 May 2026
- **Also known as:** CLEANSTART-2026-EM62923, CLEANSTART-2026-JU98285, CLEANSTART-2026-SJ25007, CLEANSTART-2026-UG99660, CLSA-2026-1784682834, CLSA-2026-1788757933, CLSA-2026-1789371248, DEBIAN-CVE-2026-45205, ECHO-fde3-5c2e-f6aa, GHSA-337m-mw94-2v6g, MINI-2jgw-j7pm-62f6, MINI-3868-wv7j-jmq3, MINI-38vm-g7jv-v4hw, MINI-3h79-q4qf-rgrr, MINI-438g-fg4v-fj2p, MINI-4c33-jjc4-f5vc, MINI-5fwp-8x3w-f9rv, MINI-652r-jjj4-xcx9, MINI-7whq-94xf-69r4, MINI-85rx-hj96-69v7, MINI-8pqv-h47c-vjvg, MINI-9746-mxcq-x4xq, MINI-9g9p-h475-7rrp, MINI-9vr9-h3jw-57pw, MINI-f39f-63rc-j79w, MINI-f62v-jc4h-8737, MINI-gjcj-qxvx-3f4m, MINI-h42f-9c4w-xw5c, MINI-hp6c-x372-rmx7, MINI-mv66-98g6-pqfw, MINI-qh3q-rxv6-4h36, MINI-qv3q-pwxg-c6mh, MINI-r46g-phvw-hx68, MINI-r4pq-qjmw-mmj6, MINI-r69w-2rj7-fxm8, MINI-r6mf-wmf5-pq73, MINI-w6rg-gvvm-hjcv, MINI-wvjg-g74r-jqf2, MINI-ww8c-jx44-hwgv, MINI-xxh5-8pm5-cr99, RHLW-2026-10f7476ff588dde7, SUSE-SU-2026:2642-1, UBUNTU-CVE-2026-45205

## What is CVE-2026-45205?

CVE-2026-45205 is a medium-severity denial of service vulnerability in Apache Commons Configuration, published on 14 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Uncontrolled Recursion vulnerability in Apache Commons.

When processing an untrusted configuration file, Commons Configuration will throw a StackOverflowError for YAML input with cycles.
This issue affects Apache Commons: from 2.2 before 2.15.0.

Users are recommended to upgrade to version 2.15.0, which fixes the issue.

Weakness: CWE-674 (Uncontrolled Recursion)

## Which versions are affected by CVE-2026-45205?

2 open source packages ship an affected version, including org.apache.commons:commons-configuration2. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.commons:commons-configuration2` | Maven | From 2.2 | 2.15.0 |
| `org.apache.commons:commons-configuration2` | Maven | From 2.2 | 2.15.0 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Module for Development Tools 15 SP7 | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Module for Development Tools 15 SP7 | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 1.15.0-150200.5.14.1 |
| `apache-commons-configuration2` | SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 2.15.0-150200.5.11.1 |
| `apache-commons-text` | SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 1.15.0-150200.5.14.1 |

Products: Apache Commons Configuration.

## How do I fix CVE-2026-45205?

Upgrade org.apache.commons:commons-configuration2 to 2.15.0 or later.

## Is CVE-2026-45205 being exploited?

There is no known exploitation of CVE-2026-45205 in the wild and no public exploit code.

## Other vulnerabilities in Apache Commons Configuration

- [CVE-2020-1953](https://insights.sbomify.com/CVE-2020-1953/): Remote code execution in Apache Commons Configuration (critical 10.0)
- [CVE-2022-33980](https://insights.sbomify.com/CVE-2022-33980/): Apache Commons Configuration insecure interpolation defaults (critical 9.8)
- [CVE-2024-29131](https://insights.sbomify.com/CVE-2024-29131/): Apache Commons Configuration: StackOverflowError adding property in AbstractListDelimiterHandler.flattenIterator() (high 7.3)
- [CVE-2025-46392](https://insights.sbomify.com/CVE-2025-46392/): Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x (medium 6.5)
- [CVE-2024-29133](https://insights.sbomify.com/CVE-2024-29133/): Apache Commons Configuration: StackOverflowError calling ListDelimiterHandler.flatten(Object, int) with a cyclical object tree (medium 5.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-45205 and fix it if it is affected.

What it is: CVE-2026-45205 is a medium-severity denial of service vulnerability in Apache Commons Configuration, published on 14 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-45205 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.commons:commons-configuration2 (Maven): affected from 2.2; fixed in 2.15.0
- org.apache.commons:commons-configuration2 (Maven): affected from 2.2; fixed in 2.15.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-45205/ (Markdown: https://insights.sbomify.com/CVE-2026-45205/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-45205
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-45205
- OSV: https://osv.dev/vulnerability/CVE-2026-45205

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-45205/
Summaries are generated and may contain mistakes; the official description above is the record.
