cve.bz

CVE-2026-45205 apache commons configuration: Uncontrolled Recursion

5.3 mediumEPSS 0.5%Fix available

Medium (5.3) in apache commons configuration. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.commons:commons-configuration2 2.15.0.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45205 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45205?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45205?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45205 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-45205

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-45205](https://cve.bz/cve/badge/CVE-2026-45205.svg)](https://cve.bz/cve/CVE-2026-45205)

HTML:

<a href="https://cve.bz/cve/CVE-2026-45205"><img src="https://cve.bz/cve/badge/CVE-2026-45205.svg" alt="CVE-2026-45205"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Commons Configurationfrom 2.2 before 2.15.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-337m-mw94-2v6gMavenorg.apache.commons:commons-configuration2>=2.2 <2.15.02.15.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13commons-configuration2no fix listedDEBIAN-CVE-2026-45205
Debian14commons-configuration22.15.1-1DEBIAN-CVE-2026-45205
Ubuntu14.04:LTS, 16.04:LTScommons-configurationno fix listedUBUNTU-CVE-2026-45205
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morecommons-configuration, commons-configuration2no fix listedUBUNTU-CVE-2026-45205
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreapache-commons-configuration22.15.0-150200.5.11.1SUSE-SU-2026:2642-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreapache-commons-text1.15.0-150200.5.14.1SUSE-SU-2026:2642-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache-commons-cli1.11.0-160000.1.1SUSE-SU-2026:21996-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache-commons-codec1.22.0-160000.1.1SUSE-SU-2026:21996-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache-commons-configuration22.15.0-160000.1.1SUSE-SU-2026:21996-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache-commons-io2.22.0-160000.1.1SUSE-SU-2026:21996-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache-commons-lang33.20.0-160000.1.1SUSE-SU-2026:21996-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache-commons-text1.15.0-160000.1.1SUSE-SU-2026:21996-1
openSUSETumbleweedapache-commons-configuration22.15.0-1.1openSUSE-SU-2026:10784-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important flaw in Apache Commons Configuration allows a remote attacker to trigger a denial of service by providing specially crafted YAML input containing cycles. This can lead to an uncontrolled recursion and a StackOverflowError, impacting the availability of systems that process untrusted YAML configuration files.

Red Hat's mitigation

To mitigate this issue, restrict Apache Commons Configuration to process only trusted YAML configuration files. Implement strict input validation for any YAML content originating from untrusted sources to prevent the parsing of malformed input with cyclical references. This operational control reduces the exposure to denial of service attacks.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7.13.6commons-configuration2Fixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1commons-configuration2Fixed 2026-09-10RHSA-2026:66488
Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16commons-configuration2Fixed 2026-08-13RHSA-2026:54622
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Affected
Red Hat AMQ Clientscommons-configuration2Affected
Red Hat build of Apicurio Registry 3commons-configuration2Affected
Red Hat Data Grid 8commons-configurationNot affected
Red Hat Enterprise Linux 6qpid-cppAffected
Red Hat Enterprise Linux 6qpid-qmfAffected
Red Hat Enterprise Linux 7apache-commons-configurationNot affected
Red Hat Enterprise Linux 8maven-assembly-pluginNot affected
Red Hat JBoss Enterprise Application Platform 7commons-configurationNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packcommons-configurationNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packcommons-configuration2Not affected
Red Hat JBoss Enterprise Application Platform Expansion Packresilience4j-commons-configurationNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-spark-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch210-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch291-py312-rhel9Not affected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45205.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON