Symfony vulnerabilities

Web frameworks · sources: CVE.org/NVD + GitHub/OSV (composer) · refreshes every minute

Historical data is still loading (NVD, last 30 days): counts will keep growing over the next hours. See source status.

Period
Updating…

In the last 30 days, 2 Symfony vulnerabilities were published: 0 critical, 0 actively exploited. Most common weakness: CWE-674.

2vulnerabilities in 30 days
0critical
0exploited
Oct 27last published
CVSS score: 8.7 Severity: High Identifier: CVE-2026-109413GHSA-2V3C-QXHR-7VPV Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process Package: symfony/symfony fixed in 5.4.54 Published Published
Description

Yaml\Parser::lexInlineStructure() recursed through lexInlineMapping() and lexInlineSequence() for every { and [ of an inline collection, without entering the nesting level that the rest of the parser bounds with maxNestingLevel. A document made of deeply nested inline collections, such as [[[[...]]]], exhausted the stack while it was being lexed: depending on the PHP version and its stack settings, the process crashed or the request ended with a fatal error.

Any code parsing untrusted YAML is affected. That includes #[MapRequestPayload] when the Yaml component is installed and the endpoint does not restrict acceptFormat: a single unauthenticated request with a YAML content type is enough.

Resolution

The inline lexer now enters and leaves the same nesting level as the rest of the parser, so nested inline collections are bounded by maxNestingLevel, and the parser raises a ParseException beyond it.

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

We would like to thank Nicolas Grekas for reporting the issue and providing the fix.

References
Exploitation
No known exploitation
EPSS
0.51% chance of exploitation in the next 30 days, higher than 36.4% of CVEs
CVSS
8.7 out of 10 · source GitHub
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
Versions
>= 2.0.0, < 5.4.54 · fixed in 5.4.54
Weakness
CWE-674
Linked via
ecosystem package
Sources
GitHub
Dates
published Oct 27, 2026 · first seen here 4 min ago
CVSS score: 8.7 Severity: High Identifier: CVE-2026-108082GHSA-R925-MGVR-H9CC Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header Package: symfony/http-foundation fixed in 6.4.46 Published Published
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.

Exploitation
No known exploitation
EPSS
0.66% chance of exploitation in the next 30 days, higher than 46.3% of CVEs
CVSS
8.7 out of 10 · source GitHub
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
Versions
>= 6.0.1, < 6.4.46 · fixed in 6.4.46
Weakness
CWE-1333
Linked via
ecosystem package
Sources
GitHub
Dates
published Oct 27, 2026 · first seen here 4 min ago