Disclosure summary
In Symfony YAML prior to versions 5.4.54, 6.4.45, 7.4.18, and 8.1.6, 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. This issue affects symfony/yaml through v5.4.53, v6.0.0-BETA1 through v6.4.44, v7.0.0-BETA1 through v7.4.17, and v8.0.0-BETA1 through v8.1.5.
Source-reported weakness categories
CWE-674
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub reviewed advisories · GHSA-2v3c-qxhr-7vpv
Open original source · Updated Oct 27, 2026
Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process
GitHub reviewed package advisory. Version ranges and patches are independently attributed; executable descriptions and source code locations are excluded.
Source severity: HIGH
| Vendor | Product / association | Version / bounds |
|---|---|---|
| composer | symfony/symfony | >= 2.0.0, < 5.4.54 |
| composer | symfony/symfony | >= 6.0.0, < 6.4.45 |
| composer | symfony/symfony | >= 7.0.0, < 7.4.18 |
| composer | symfony/symfony | >= 8.0.0, < 8.1.6 |
| composer | symfony/yaml | >= 2.0.0, < 5.4.54 |
| composer | symfony/yaml | >= 6.0.0, < 6.4.45 |
| composer | symfony/yaml | >= 7.0.0, < 7.4.18 |
| composer | symfony/yaml | >= 8.0.0, < 8.1.6 |
NIST NVD · nvd:CVE-2026-109413
Open original source · Updated Oct 16, 2026
In Symfony YAML prior to versions 5.4.54, 6.4.45, 7.4.18, and 8.1.6, 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. This issue affects symfony/yaml through v5.4.53, v6.0.0-BETA1 through v6.4.44, v7.0.0-BETA1 through v7.4.17, and v8.0.0-BETA1 through v8.1.5.
Source severity: HIGH / 8.7
Indexed product associations
These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.
| Vendor | Product | Version | Source / relationship |
|---|---|---|---|
| composer | symfony/symfony | >= 2.0.0, < 5.4.54 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/symfony | >= 6.0.0, < 6.4.45 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/symfony | >= 7.0.0, < 7.4.18 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/symfony | >= 8.0.0, < 8.1.6 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/yaml | >= 2.0.0, < 5.4.54 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/yaml | >= 6.0.0, < 6.4.45 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/yaml | >= 7.0.0, < 7.4.18 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
| composer | symfony/yaml | >= 8.0.0, < 8.1.6 | GHSA-2v3c-qxhr-7vpv / vendor-listed |
Original records & references
- NIST NVD record
- CVE Program record
- 596c5446-0ce5-4ba2-aa66-48b3b757a647
- 596c5446-0ce5-4ba2-aa66-48b3b757a647
- 596c5446-0ce5-4ba2-aa66-48b3b757a647
Repositories cited by this CVE
The saved CVE record references these repositories. A citation can identify affected software, a fix, or related research; it does not verify exploit code. These citations are separate from automated search matches and local association reviews.
- symfony/symfony CVE record citation
GitHub repository matches
Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.
No stored repository matches
Repository discovery has not recorded an update for this CVE yet.
Discovery progress
0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.
No discovery update has been recorded for this CVE.
View all 0 stored repository matches
PUBLISHED 2026-10-15T15:17:24+00:00
MODIFIED 2026-10-16T16:00:33+00:00
INGESTED 2026-10-17T18:40:02+00:00