Vulnerability · Published May 14, 2026 · Assigned by apache
CVE-2026-45205Apache Commons Configuration: StackOverflowError for YAML input with cycles
Medium 5.3
In plain English
A medium-severity security flaw in Apache Commons Configuration from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | commons-configuration2 | no fix listed | DEBIAN-CVE-2026-45205 |
| Debian:13 | commons-configuration2 | no fix listed | DEBIAN-CVE-2026-45205 |
| Debian:14 | commons-configuration2 | 2.15.1-1 | DEBIAN-CVE-2026-45205 |
| Maven | org.apache.commons:commons-configuration2 | 2.15.0 | GHSA-337m-mw94-2v6g |
| Ubuntu:22.04:LTS | commons-configuration | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:24.04:LTS | commons-configuration | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:25.10 | commons-configuration | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:26.04:LTS | commons-configuration | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:26.10 | commons-configuration | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:22.04:LTS | commons-configuration2 | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:24.04:LTS | commons-configuration2 | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:25.10 | commons-configuration2 | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:26.04:LTS | commons-configuration2 | no fix listed | UBUNTU-CVE-2026-45205 |
| Ubuntu:26.10 | commons-configuration2 | no fix listed | UBUNTU-CVE-2026-45205 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Commons Configuration | 2.2 – before 2.15.0 |
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L