Uncontrolled Recursion in yaml - CVE-2026-33532
Published: April 28, 2026
yaml
Detailed vulnerability description
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in the node resolution/composition phase when parsing deeply nested YAML collections. A remote user can supply a specially crafted YAML document to cause a denial of service.
All three public parsing APIs are affected: YAML.parse(), YAML.parseDocument(), and YAML.parseAllDocuments(). The parser CST phase is not affected.