CVE-2026-108082Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header
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.
What to do
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-108082 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-108082 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-108082 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-108082 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-108082 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-108082 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-108082 | |
| Debian 14 | symfony | Fixed | 7.4.19+dfsg-1 | DEBIAN-CVE-2026-108082 |
| Debian 13 | symfony | Fixed | 6.4.49+dfsg-0+deb13u1 | DEBIAN-CVE-2026-108082 |
| Debian 12 | symfony | Fix pending | DEBIAN-CVE-2026-108082 | |
| Packagist library | symfony/http-foundation | Fixed | 5.4.54 | GHSA-r925-mgvr-h9cc |
| Packagist library | symfony/symfony | Fixed | 8.1.7 | GHSA-r925-mgvr-h9cc |
What the vendor says
As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sensiolabs symfony: affected: v4.1.0-BETA1 to before v5.4.54, v6.0.0-BETA1 to before v6.4.46, v7.0.0-BETA1 to before v7.4.19, v8.0.0-BETA1 to before v8.1.7; fixed in
v5.4.54,v6.4.46,v7.4.19,v8.1.7
Vendor advisories:
- https://github.com/symfony/symfony/pull/66048 (patch)
- https://github.com/symfony/symfony/pull/66491 (patch)
- https://github.com/symfony/symfony/security/advisories/GHSA-r925-mgvr-h9cc (vendor-advisory)
- https://symfony.com/blog/cve-2026-108082-redos-in-headerutils-split-reachable-through-the… (vendor-advisory)
References
- https://github.com/symfony/symfony/pull/66048
- https://github.com/symfony/symfony/pull/66491
- https://github.com/symfony/symfony/security/advisories/GHSA-r925-mgvr-h9cc
- https://symfony.com/blog/cve-2026-108082-redos-in-headerutils-split-reachable-through-the-cache-control-request-header
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.