Summary
CVE-2026-123792 is an algorithmic-complexity denial-of-service vulnerability (CWE-407, CWE-1333) in the Symfony Yaml component. A small crafted YAML document can keep a PHP process busy for seconds or minutes. The severity is High (CVSS 8.7).
Technical details
- Root cause: embedded mappings in flow sequences are re-parsed for each appended scalar, so processing time grows exponentially with nesting depth. Pattern matching for mapping keys also grows quadratically with input size.
- Trigger conditions: the application parses untrusted YAML with the Symfony Yaml component. In Symfony 7.4+, this includes use of the
#[MapRequestPayload]attribute when the Yaml component is installed. - Attack vector: network, unauthenticated. A single request with a YAML content type can exhaust the PHP worker’s maximum execution time.
- Impact: high availability impact (denial of service). The CVE record lists no confidentiality or integrity impact.
Affected software
- Symfony earlier than 5.4.56
- Symfony 6.0.0 up to (not including) 6.4.50
- Symfony 7.0.0 up to (not including) 7.4.23
- Symfony 8.0.0 up to (not including) 8.1.11
Severity
CVSS 8.7 (High). The CVE record gives this as a CVSS v4.0 score, not v3.1. Vector: 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 to Symfony 5.4.56, 6.4.50, 7.4.23 or 8.1.11 (or later), according to your release branch.
- If you can’t patch right away, don’t pass untrusted input to the Yaml parser. Where possible, limit request body size and PHP execution time, and restrict endpoints that accept YAML content types. I did not find these workarounds in the advisory, so treat them as general hardening and not as vendor-endorsed fixes.

