CVE-2026-108082 — Symfony: ReDoS in symfony/symfony — CVE Details
Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.66%). Schedule for your next planned update.
Does your project use an affected symfony/symfony version?
Paste your composer.lock to check it for CVE-2026-108082 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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). 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.
Resolution
The pattern now consumes whitespace only when more of the value follows it, so a value can no longer end on whitespace, nothing has to be given back, and every quantifier is possessive. The first release of this fix broke splitting on a whitespace separator: HeaderUtils::split('foo bar', ' ') returned a single value in 6.4.46 to 6.4.47, 7.4.19 to 7.4.20 and 8.1.7 to 8.1.8. Whitespace characters used as separators are now left out of the whitespace branch, which 6.4.48, 7.4.21 and 8.1.9 contain.
The patches for this issue are available here for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).
Credits
Symfony would like to thank r3verii for reporting the issue and Nicolas Grekas for providing the fix.
Symfony would also like to thank Bruno Dias from Checkmarx for his help getting a CVE assigned.
Advisory Timeline
- First published October 27, 2026 (30 days ago).
- Last revised October 27, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "symfony/symfony:^7.4.19"
composer require "symfony/symfony:^8.1.7"
composer require "symfony/symfony:^5.4.54"
composer require "symfony/symfony:^6.4.46"
composer require "symfony/http-foundation:^6.4.46"
composer require "symfony/http-foundation:^8.1.7"
composer require "symfony/http-foundation:^5.4.54"
composer require "symfony/http-foundation:^7.4.19"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| symfony/symfony Packagist · Affected: v7.0.0, v7.0.1, v7.0.10, v7.0.2 (+73 more) | 7.4.19 |
| symfony/symfony Packagist · Affected: v8.0.0, v8.0.1, v8.0.10, v8.0.11 (+24 more) | 8.1.7 |
| symfony/symfony Packagist · Affected: v4.1.0, v4.1.1, v4.1.10, v4.1.11 (+226 more) | 5.4.54 |
| symfony/symfony Packagist · Affected: v6.0.1, v6.0.10, v6.0.11, v6.0.12 (+121 more) | 6.4.46 |
| symfony/http-foundation Packagist · Affected: v6.0.1, v6.0.10, v6.0.11, v6.0.12 (+94 more) | 6.4.46 |
| symfony/http-foundation Packagist · Affected: v8.0.0, v8.0.1, v8.0.13, v8.0.14 (+16 more) | 8.1.7 |
| symfony/http-foundation Packagist · Affected: v4.1.0, v4.1.1, v4.1.10, v4.1.11 (+188 more) | 5.4.54 |
| symfony/http-foundation Packagist · Affected: v7.0.0, v7.0.10, v7.0.3, v7.0.4 (+58 more) | 7.4.19 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1333
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
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
References
- https://github.com/symfony/symfony/security/advisories/GHSA-r925-mgvr-h9ccWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-108082ADVISORY
- https://github.com/symfony/symfony/pull/66048WEB
- https://github.com/symfony/symfony/pull/66491WEB
- https://github.com/symfony/symfony/commit/343a1772ce6ac03e48b228d2d7168d19750e3f36WEB
- https://github.com/symfony/symfony/commit/9ffa802e5d7e9fb8ba95eeefd27e863e83b1bacaWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2026-108082.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-108082.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://github.com/symfony/symfony/releases/tag/v5.4.54WEB
- https://github.com/symfony/symfony/releases/tag/v6.4.48WEB
- https://github.com/symfony/symfony/releases/tag/v7.4.21WEB
- https://github.com/symfony/symfony/releases/tag/v8.1.9WEB
- https://symfony.com/blog/cve-2026-108082-redos-in-headerutils-split-reachable-through-the-cache-control-request-headerWEB
- https://symfony.com/cve-2026-108082WEB
Frequently Asked Questions
- What is CVE-2026-108082?
- Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-108082?
- CVE-2026-108082 affects symfony/symfony and symfony/http-foundation. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-108082 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 46.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2017-11365CRITICAL
Symfony Incorrect Access Control
- CVE-2019-11325CRITICAL
Improper Input Validation in Symfony
- CVE-2019-10913CRITICAL
Invalid HTTP method overrides allow possible XSS or other attacks in Symfony
- CVE-2025-64500HIGH
Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass
- CVE-2026-45063HIGH
Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator
- CVE-2024-51736HIGH
Symfony vulnerable to command execution hijack on Windows with Process class
- CVE-2014-6072HIGH
Symfony Cross-Site Request Forgery vulnerability in the Web Profiler
- CVE-2026-24739MEDIUM
Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows