Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/http-foundation
  4. ›
  5. CVE-2026-108082

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

October 27, 2026

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2026-108082.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-108082.yaml
  • github.com/advisories/GHSA-r925-mgvr-h9cc
  • github.com/symfony/symfony/commit/343a1772ce6ac03e48b228d2d7168d19750e3f36
  • github.com/symfony/symfony/commit/9ffa802e5d7e9fb8ba95eeefd27e863e83b1baca
  • github.com/symfony/symfony/pull/66048
  • github.com/symfony/symfony/pull/66491
  • github.com/symfony/symfony/releases/tag/v5.4.54
  • github.com/symfony/symfony/releases/tag/v6.4.48
  • github.com/symfony/symfony/releases/tag/v7.4.21
  • github.com/symfony/symfony/releases/tag/v8.1.9
  • github.com/symfony/symfony/security/advisories/GHSA-r925-mgvr-h9cc
  • nvd.nist.gov/vuln/detail/CVE-2026-108082
  • symfony.com/blog/cve-2026-108082-redos-in-headerutils-split-reachable-through-the-cache-control-request-header
  • symfony.com/cve-2026-108082

Code Behaviors & Features

Detect and mitigate CVE-2026-108082 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.1.0 before 5.4.54, all versions starting from 6.0.1 before 6.4.46, all versions starting from 7.0.0 before 7.4.19, all versions starting from 8.0.0 before 8.1.7

Fixed versions

  • 5.4.54
  • 6.4.46
  • 7.4.19
  • 8.1.7

Solution

Upgrade to versions 5.4.54, 6.4.46, 7.4.19, 8.1.7 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

packagist/symfony/http-foundation/CVE-2026-108082.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:32 +0000.