Skip to main content

CVE-2026-108082: CWE-1333 Inefficient regular expression complexity in sensiolabs symfony

0
High
VulnerabilityCVE-2026-108082cvecve-2026-108082cwe-1333
Published: 10/15/2026 (10/15/2026, 14:46:01 UTC)
Source: CVE Database V5
Vendor/Project: sensiolabs
Product: symfony

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

sensiolabs

symfony

Affected versions
>=4.1.0-BETA1 <5.4.54>=6.0.0-BETA1 <6.4.46>=7.0.0-BETA1 <7.4.19>=8.0.0-BETA1 <8.1.7
Packagistmore threats →cve
symfony/http-foundation
pkg:composer/symfony/http-foundation
Affected versions
>=4.1.0-BETA1 <5.4.54>=6.0.0-BETA1 <6.4.46>=7.0.0-BETA1 <7.4.19>=8.0.0-BETA1 <8.1.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 15:18:16 UTC

Technical Analysis

The vulnerability arises from a regular expression in HeaderUtils::split() that parses header values with a pattern whose token alternative matches whitespace followed by a negative lookbehind for whitespace. When a header contains a run of whitespace before a separator, the regex engine explores exponentially many ways to match, causing high CPU usage. This function is called by HeaderBag for the Cache-Control header whenever a Request is built, making the vulnerability reachable by any HTTP request. A crafted header with 17 spaces can cause approximately 813 ms CPU time on PHP 8.5, doubling with each additional space. Beyond 18 spaces, preg_match_all() hits the backtrack limit and split() returns an empty array, silently dropping header directives. Affected Symfony versions include v4.1.0-BETA1 prior to v5.4.54, v6.0.0-BETA1 prior to v6.4.46, v7.0.0-BETA1 prior to v7.4.19, and v8.0.0-BETA1 prior to v8.1.7.

Potential Impact

An unauthenticated attacker can send a specially crafted HTTP request with a Cache-Control header containing excessive whitespace to cause high CPU consumption on the server, potentially leading to denial of service. The vulnerability affects all applications using the vulnerable Symfony versions that process HTTP requests. Additionally, when the backtrack limit is reached, header directives are silently dropped, which may affect application behavior.

Mitigation Recommendations

Fixed versions are available: 5.4.54, 6.4.46, 7.4.19, and 8.1.7. Users should upgrade to these or later versions to remediate the vulnerability. No other mitigation or workaround is indicated in the advisory. Patch status is confirmed by the version boundaries provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Checkmarx
Date Reserved
2026-10-09T12:09:17.141Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad0eb702cdf04f6563e7c52

Added to database: 10/15/2026, 15:04:16 UTC

Last enriched: 10/15/2026, 15:18:16 UTC

Last updated: 10/15/2026, 19:00:26 UTC

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses