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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Configuration | 2.2 – < 2.15.0 | 2.15.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | commons-configuration2 | 2.15.1-1 | — |
| Debian 13 | commons-configuration2 | No fix yet | — |
| Debian 12 | commons-configuration2 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | commons-configuration +1 | No fix yet | — |
| Ubuntu 26.04 LTS | commons-configuration +1 | No fix yet | — |
| Ubuntu 25.10 | commons-configuration +1 | No fix yet | — |
| Ubuntu 24.04 LTS | commons-configuration +1 | No fix yet | — |
| Ubuntu 22.04 LTS | commons-configuration +1 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | commons-configuration +1 | No fix yet | — |
| Ubuntu 18.04 LTS | commons-configuration +1 | No fix yet | — |
| Ubuntu 16.04 LTS | commons-configuration | No fix yet | — |
| Ubuntu 14.04 LTS | commons-configuration | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP7 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP6 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP6 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP5 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP5 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP4 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES 15 SP4 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | apache-commons-cli | 1.11.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES for SAP 16.0 | apache-commons-codec | 1.22.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES for SAP 16.0 | apache-commons-configuration2 | 2.15.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES for SAP 16.0 | apache-commons-io | 2.22.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES for SAP 16.0 | apache-commons-lang3 | 3.20.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES for SAP 16.0 | apache-commons-text | 1.15.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES for SAP 15 SP6 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES for SAP 15 SP6 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLES for SAP 15 SP5 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES for SAP 15 SP5 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLES for SAP 15 SP4 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLES for SAP 15 SP4 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLES 16.0 | apache-commons-cli | 1.11.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES 16.0 | apache-commons-codec | 1.22.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES 16.0 | apache-commons-configuration2 | 2.15.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES 16.0 | apache-commons-io | 2.22.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES 16.0 | apache-commons-lang3 | 3.20.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLES 16.0 | apache-commons-text | 1.15.0-160000.1.1 | SUSE-SU-2026:21996-1 |
| SLE HPC 15 SP5 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLE HPC 15 SP5 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
| SLE HPC 15 SP4 | apache-commons-configuration2 | 2.15.0-150200.5.11.1 | SUSE-SU-2026:2642-1 |
| SLE HPC 15 SP4 | apache-commons-text | 1.15.0-150200.5.14.1 | SUSE-SU-2026:2642-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache-commons-configuration2 | 2.15.0-1.1 | openSUSE-SU-2026:10784-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-activemq-artemis | 2.54.0-r3 | — |
| Wolfi rolling | apache-nifi | 2.9.0-r11 | — |
| Wolfi rolling | apache-pulsar-4.2 | 4.2.1-r5 | — |
| Wolfi rolling | apicurio-registry | 3.2.4-r3 | — |
| Wolfi rolling | cassandra-reaper | 4.2.3-r2 | — |
| Wolfi rolling | celeborn-0.6 +2 | No fix yet | — |
| Wolfi rolling | druid | 37.0.0-r9 | — |
| Wolfi rolling | flyway | 12.8.1-r1 | — |
| Wolfi rolling | spark-4.0-scala-2.13 | 4.0.5-r1 | — |
| Wolfi rolling | spark-4.1-scala-2.13 | 4.1.4-r2 | — |
| Wolfi rolling | tez | 0.10.5-r18 | — |
| Wolfi rolling | trino-plugin-pinot +1 | 481-r4 | — |
| Wolfi rolling | zipkin +1 | 3.6.1-r8 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.commons:commons-configuration2 | >= 2.2, < 2.15.0 | 2.15.0 | GHSA-337m-mw94-2v6g |
Advisories 4
- WID-SEC-2026-1539 Apache Commons: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 13, 2026
- SUSE-SU-2026:2642-1 Security update for apache-commons-configuration2, apache-commons-text SUSE / openSUSE Security Updates · Jun 27, 2026
- SUSE-SU-2026:21996-1 Security update for apache-commons-lang3, apache-commons-text, apache-commons-configuration2, apache-commons-cli, apache-commons-io, apache-commons-codec SUSE / openSUSE Security Updates · Jun 9, 2026
- openSUSE-SU-2026:10784-1 apache-commons-configuration2-2.15.0-1.1 on GA media SUSE / openSUSE Security Updates · May 17, 2026