BuzzPHP
LightDarkSystem

Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header

High severity. Published 27 October 2026. Update symfony/http-foundation to the fixed version of your branch (6.4.46, 7.4.19, 8.1.7, 5.4.54) and symfony/symfony to the fixed version of your branch (6.4.46, 7.4.19, 8.1.7, 5.4.54): composer update symfony/http-foundation symfony/symfony.

Which versions are affected?

PackageAffected versionsFixed in
symfony/http-foundation (opens in a new tab)>= 6.0.1, < 6.4.46 | >= 7.0.0, < 7.4.19 | >= 8.0.0, < 8.1.7 | >= 4.1.0, < 5.4.546.4.46, 7.4.19, 8.1.7, 5.4.54
symfony/symfony (opens in a new tab)>= 6.0.1, < 6.4.46 | >= 7.0.0, < 7.4.19 | >= 8.0.0, < 8.1.7 | >= 4.1.0, < 5.4.546.4.46, 7.4.19, 8.1.7, 5.4.54

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show symfony/http-foundation
composer audit

Advisory details

SeverityHigh
Published
Updated
CVECVE-2026-108082 (opens in a new tab)
GHSAGHSA-r925-mgvr-h9cc (opens in a new tab)
WeaknessCWE-1333

What the advisory says

Description

HeaderUtils::split() parsed header values with a pattern whose token alternative also matched whitespace, followed by a (?<!\s) lookbehind. A run of whitespace placed before a separator could be divided among the iterations of the enclosing repetition in exponentially many ways, and the engine tried all of them before settling. HeaderBag calls it for the Cache-Control header whenever a Request is built, so any application handling HTTP requests is reachable, with no authentication.

A single request carrying such a header costs close to a second of CPU (813 ms for a run of 17 spaces in an 8 KB header on PHP 8.5, doubling with each extra space).

Source: GHSA-r925-mgvr-h9cc (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories