Inefficient Algorithmic Complexity in Symfony - CVE-2026-123792

 

Inefficient Algorithmic Complexity in Symfony - CVE-2026-123792

Published: December 1, 2026


Vulnerability identifier: #VU171474
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-123792
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by keeping a PHP worker busy with excessive YAML parsing.

The vulnerability exists due to inefficient algorithmic complexity in the Symfony YAML parser when processing untrusted documents. Repeated parsing of nested structures, copying of input, and rescanning by regular expressions can make processing time grow quadratically or exponentially. A remote attacker can supply input that triggers disproportionate CPU or memory use to cause a denial of service.

On Symfony 7.4 and later, request payload mapping exposes the parser when the YAML component is installed and the endpoint does not restrict acceptFormat.


Affected software

Symfony
http-kernel

How to mitigate CVE-2026-123792

Install security update from vendor's website.

Symfony - update to 5.4.56
http-kernel - addressed in versions 7.4.23, 8.1.11

External References

Related Security Bulletins