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

High severity, published 2026-10-27. 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.

Canonical URL: https://buzzphp.com/security/ghsa-r925-mgvr-h9cc · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high |
| Published | 2026-10-27 |
| Updated | 2026-10-27 |
| CVE | [CVE-2026-108082](https://nvd.nist.gov/vuln/detail/CVE-2026-108082) |
| GHSA | [GHSA-r925-mgvr-h9cc](https://github.com/advisories/GHSA-r925-mgvr-h9cc) |
| Weakness | CWE-1333 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| symfony/http-foundation | >= 6.0.1, < 6.4.46 or >= 7.0.0, < 7.4.19 or >= 8.0.0, < 8.1.7 or >= 4.1.0, < 5.4.54 | 6.4.46, 7.4.19, 8.1.7, 5.4.54 |
| symfony/symfony | >= 6.0.1, < 6.4.46 or >= 7.0.0, < 7.4.19 or >= 8.0.0, < 8.1.7 or >= 4.1.0, < 5.4.54 | 6.4.46, 7.4.19, 8.1.7, 5.4.54 |

## What to do

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.

Check which version you run with `composer show symfony/http-foundation`, and every affected package with `composer audit`.

## About this advisory

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).

## Links

- [GHSA-r925-mgvr-h9cc on GitHub](https://github.com/advisories/GHSA-r925-mgvr-h9cc)
- [CVE-2026-108082 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-108082)
- [All Composer security advisories](https://buzzphp.com/security)
