Summary
CVE-2026-109413 is an uncontrolled recursion vulnerability (CWE-674) in the Symfony Yaml component (symfony/yaml). A single crafted YAML document with deeply nested inline collections can exhaust the stack and crash the process. The CVE record rates it High, with a CVSS score of 8.7.
Technical details
- Root cause:
Yaml\Parser::lexInlineStructure()recursed without properly tracking nesting levels. - Trigger conditions: the application parses attacker-controlled YAML containing deeply nested inline collections, for example
[[[[...]]]]. - Attack vector: network. The CVE record lists low attack complexity, no privileges required and no user interaction.
- Impact: high availability impact. Stack exhaustion crashes the process (denial of service). The record lists no confidentiality or integrity impact.
Affected software
symfony/yamlfrom 0 up to (not including) v5.4.54symfony/yamlv6.0.0-BETA1 up to (not including) v6.4.45symfony/yamlv7.0.0-BETA1 up to (not including) v7.4.18symfony/yamlv8.0.0-BETA1 up to (not including) v8.1.6
Severity
CVSS base score 8.7 (High). The CVE record gives this as a CVSS v4.0 score, not v3.1: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: upgrade
symfony/yamlto v5.4.54, v6.4.45, v7.4.18 or v8.1.6 (or later), according to your release branch. - Check that applications and their dependencies do not parse untrusted YAML with a vulnerable version.
- If you cannot patch right away, avoid passing untrusted YAML to the parser. Where you can’t avoid it, limit the size of the input. I did not find any vendor-documented workaround.

