Skip to main content

CVE-2026-108082 — Symfony: ReDoS in symfony/symfony — CVE Details

HIGH

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

Published October 27, 2026Updated October 27, 2026Source: OSV

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.

Check my composer.lock

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
Update symfony/symfony to 7.4.19 or later
composer require "symfony/symfony:^7.4.19"
Composer
Update symfony/symfony to 8.1.7 or later
composer require "symfony/symfony:^8.1.7"
Composer
Update symfony/symfony to 5.4.54 or later
composer require "symfony/symfony:^5.4.54"
Composer
Update symfony/symfony to 6.4.46 or later
composer require "symfony/symfony:^6.4.46"
Composer
Update symfony/http-foundation to 6.4.46 or later
composer require "symfony/http-foundation:^6.4.46"
Composer
Update symfony/http-foundation to 8.1.7 or later
composer require "symfony/http-foundation:^8.1.7"
Composer
Update symfony/http-foundation to 5.4.54 or later
composer require "symfony/http-foundation:^5.4.54"
Composer
Update symfony/http-foundation to 7.4.19 or later
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).

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

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

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

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.66%
EPSS percentile: 46.3

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

GHSA-r925-mgvr-h9cc

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock