{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "v5.4.54"
              },
              {
                "introduced": "v6.0.0-BETA1"
              },
              {
                "fixed": "v6.4.45"
              },
              {
                "introduced": "v7.0.0-BETA1"
              },
              {
                "fixed": "v7.4.18"
              },
              {
                "introduced": "v8.0.0-BETA1"
              },
              {
                "fixed": "v8.1.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f27a7131106e8cb792d434e8faea7f3ffb615263"
            },
            {
              "introduced": "78ba96788a30db0846f50085435f332b03ff1c83"
            },
            {
              "fixed": "a778aba2d7130eba6150cc80cb692988a361ee4b"
            },
            {
              "introduced": "60bb70d63af1b4e2e6fe46fe389cf169a703bd62"
            },
            {
              "fixed": "4cef939e55b8a21c5780418de0d98ab00d0736e1"
            },
            {
              "introduced": "234674588d1573f67bfdea6804fe3079414f5e30"
            },
            {
              "fixed": "0b4aa53a67f9fece88c665f1a1dadcfd25d93fe5"
            }
          ],
          "repo": "https://github.com/symfony/yaml",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2v3c-qxhr-7vpv"
  ],
  "database_specific": {
    "cna_assigner": "Checkmarx",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109413.json"
  },
  "details": "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.\n\n\n\nAny 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.\n\n\n\nThis 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.",
  "id": "CVE-2026-109413",
  "modified": "2026-10-17T02:30:42.202546679Z",
  "published": "2026-10-15T14:57:00.211Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://packagist.org/packages/symfony/yaml"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109413.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/symfony/symfony/security/advisories/GHSA-2v3c-qxhr-7vpv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-109413"
    },
    {
      "type": "ADVISORY",
      "url": "https://symfony.com/blog/cve-2026-109413-unbounded-recursion-in-the-yaml-inline-lexer-lets-a-single-document-crash-the-process"
    },
    {
      "type": "FIX",
      "url": "https://github.com/symfony/symfony/pull/65688"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/symfony/yaml"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process"
}