Apache Commons Configuration: StackOverflowError for YAML input with cycles
Date: 2026-05
Affected: maven/org.apache.commons:commons-configuration2
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-45205
CWE: CWE-674
CVSS: 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)

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.


Mitigations:

Architectural layers (MAESTRO):