Intel

AIKIDO-2026-10866

symfony/yaml is vulnerable to Uncontrolled Recursion

CVE-2026-45133Published May 21, 2026
May 21, 2026

37

CVE Score

Low

Uncontrolled Recursion

Are you affected? Scan for Free

TL;DR

Parser and Inline parse nested YAML blocks, sequences, and mappings without a recursion depth limit. Deeply nested crafted YAML can exhaust the PHP stack. Pre-fix applications that parse untrusted YAML can crash worker processes. The fix tracks nesting depth in shared parser state and adds a configurable limit.

How do I fix this?

Upgrade the symfony/yaml and/or symfony/symfony library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 5.4.51

Fixed in 5.4.52

6.0.0 - 6.4.39

Fixed in 6.4.40

7.0.0 - 7.4.11

Fixed in 7.4.12

8.0.0 - 8.0.11

Fixed in 8.0.12

Background info

symfony/yaml is vulnerable to Uncontrolled Recursion in versions 0.0.1 - 5.4.51, 6.0.0 - 6.4.39, 7.0.0 - 7.4.11 and 8.0.0 - 8.0.11.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea