Summary
CVE-2026-108082 is a Regular Expression Denial of Service (ReDoS) vulnerability (CWE-1333) in HeaderUtils::split() of the Symfony HttpFoundation component. An unauthenticated remote attacker can trigger heavy CPU consumption with a crafted Cache-Control request header. It is rated High severity (CVSS 8.7).
Technical details
- Root cause: the regular expression in
HeaderUtils::split()lets a run of whitespace before a separator be divided among the iterations of the enclosing repetition in exponentially many ways. The regex engine tries them all before settling. - Trigger conditions: the
Cache-Controlrequest header is parsed whenever a Request is built, so any application handling HTTP requests is reachable. No authentication is required. - Attack vector: network. The attacker sends an HTTP request with a
Cache-Controlheader containing a long run of spaces. - Impact: availability. Symfony reports about 813 ms of CPU for a run of 17 spaces in an 8 KB header on PHP 8.5, and the time doubles with each extra space. Repeated requests can exhaust CPU and cause denial of service.
Affected software
- Symfony HttpFoundation >= 5.4.1 and < 5.4.54
- Symfony HttpFoundation >= 6.0.1 and < 6.4.46
- Symfony HttpFoundation >= 7.0 and < 7.4.19
- Symfony HttpFoundation >= 8.0 and < 8.1.7
Severity
CVSS v4.0 base score 8.7 (High): 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. The published record gives a CVSS v4.0 score. We found no CVSS v3.1 vector.
Mitigation and recommended actions
- Immediate: upgrade symfony/http-foundation to 5.4.54, 6.4.46, 7.4.19 or 8.1.7, or later.
- The initial fix introduced a regression: whitespace-separator splitting (for example
HeaderUtils::split('foo bar', ' ')) was broken in 6.4.46–6.4.47, 7.4.19–7.4.20 and 8.1.7–8.1.8. This is corrected in 6.4.48, 7.4.21 and 8.1.9, so use those releases or later on those branches. - Workarounds: Symfony states that none are available.

