CVE-2026-108082
symfony/http-foundation: symfony/http-foundation: Denial of Service via crafted HTTP headers
Overview
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to versions 5.4.54, 6.4.46, 7.4.19, and 8.1.7, 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). From 18 spaces on, preg_match_all() gives up at pcre.backtrack_limit and split() returns an empty array, so every directive of the header is silently dropped.
This issue affects symfony/http-foundation v4.1.0-BETA1 through v5.4.53, v6.0.0-BETA1 through v6.4.45, v7.0.0-BETA1 through v7.4.18, and v8.0.0-BETA1 through v8.1.6.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1333
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/http-foundation | >=6.0.1, <6.4.46>=7.0.0, <7.4.19>=8.0.0, <8.1.7>=4.1.0, <5.4.54>=5.4.1, <5.4.54+12 more | 6.4.467.4.198.1.75.4.54 |
| Composer (PHP) | symfony/symfony | >=6.0.1, <6.4.46>=7.0.0, <7.4.19>=8.0.0, <8.1.7>=4.1.0, <5.4.54>=7.1.0, <7.2.0+12 more | 6.4.467.4.198.1.75.4.54 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nextcloud-server-34 | 34.0.5-r7 | |
| nextcloud-server-35 | 35.0.2-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | affected |
| 12 | symfony | affected |
| 13 | symfony | 6.4.49+dfsg-0+deb13u1 |
| 14 | symfony | 7.4.19+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 6.4.49+dfsg-0+deb13u1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-108082
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2026-108082.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-108082.yaml
- github.com https://github.com/symfony/symfony
- github.com https://github.com/symfony/symfony/commit/343a1772ce6ac03e48b228d2d7168d19750e3f36
- github.com https://github.com/symfony/symfony/commit/9ffa802e5d7e9fb8ba95eeefd27e863e83b1baca
- github.com https://github.com/symfony/symfony/pull/66048
- github.com https://github.com/symfony/symfony/pull/66491
- github.com https://github.com/symfony/symfony/releases/tag/v5.4.54
- github.com https://github.com/symfony/symfony/releases/tag/v6.4.48
Show all 17 references
- github.com https://github.com/symfony/symfony/releases/tag/v7.4.21
- github.com https://github.com/symfony/symfony/releases/tag/v8.1.9
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-r925-mgvr-h9cc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-108082
- symfony.com https://symfony.com/blog/cve-2026-108082-redos-in-headerutils-split-reachable-through-the-cache-control-request-header
- symfony.com https://symfony.com/cve-2026-108082
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-108082
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.