HighGHSA-r925-mgvr-h9cc
Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header
Affected versions
6.0.1 to before 6.4.46, 7.0.0 to before 7.4.19, 8.0.0 to before 8.1.7, 4.1.0 to before 5.4.54 - fixed in 6.4.46Details
### 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
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-108082
- https://github.com/symfony/symfony/security/advisories/GHSA-r925-mgvr-h9cc
- https://nvd.nist.gov/vuln/detail/CVE-2026-108082
- https://github.com/symfony/symfony/pull/66048
- https://github.com/symfony/symfony/pull/66491
- https://github.com/symfony/symfony/commit/343a1772ce6ac03e48b228d2d7168d19750e3f36
- https://github.com/symfony/symfony/commit/9ffa802e5d7e9fb8ba95eeefd27e863e83b1baca
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2026-108082.yaml
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected