CVE-2026-109413 (GCVE-0-2026-109413)
Vulnerability from cvelistv5
Published
2026-10-15 14:57
Modified
2026-10-15 18:06
CWE
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.
Impacted products
Vendor Product Version
sensiolabs symfony Version: 0
Version: v6.0.0-BETA1
Version: v7.0.0-BETA1
Version: v8.0.0-BETA1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-109413",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T18:06:37.552332Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-15T18:06:55.183Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org/packages/symfony/yaml",
          "defaultStatus": "unaffected",
          "modules": [
            "Symfony\\\\Component\\\\Yaml\\\\Parser::lexInlineStructure()"
          ],
          "packageName": "symfony/yaml",
          "product": "symfony",
          "repo": "https://github.com/symfony/yaml",
          "vendor": "sensiolabs",
          "versions": [
            {
              "lessThan": "v5.4.54",
              "status": "affected",
              "version": "0",
              "versionType": "git"
            },
            {
              "lessThan": "v6.4.45",
              "status": "affected",
              "version": "v6.0.0-BETA1",
              "versionType": "git"
            },
            {
              "lessThan": "v7.4.18",
              "status": "affected",
              "version": "v7.0.0-BETA1",
              "versionType": "git"
            },
            {
              "lessThan": "v8.1.6",
              "status": "affected",
              "version": "v8.0.0-BETA1",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "v5.4.54",
                  "versionStartIncluding": "0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "v6.4.45",
                  "versionStartIncluding": "v6.0.0-beta1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "v7.4.18",
                  "versionStartIncluding": "v7.0.0-beta1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "v8.1.6",
                  "versionStartIncluding": "v8.0.0-beta1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "OR"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Nicolas Grekas"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eIn Symfony YAML prior to versions\u0026nbsp;\u003cspan\u003e5.4.54,\u0026nbsp;\u003c/span\u003e\u003cspan\u003e6.4.45,\u0026nbsp;\u003c/span\u003e\u003cspan\u003e7.4.18, and\u0026nbsp;\u003c/span\u003e\u003cspan\u003e8.1.6,\u0026nbsp;\u003c/span\u003e\u003ccode\u003eYaml\\Parser::lexInlineStructure()\u003c/code\u003e\u003cspan\u003e recursed through \u003c/span\u003e\u003ccode\u003elexInlineMapping()\u003c/code\u003e\u003cspan\u003e and \u003c/span\u003e\u003ccode\u003elexInlineSequence()\u003c/code\u003e\u003cspan\u003e for every \u003c/span\u003e\u003ccode\u003e{\u003c/code\u003e\u003cspan\u003e and \u003c/span\u003e\u003ccode\u003e[\u003c/code\u003e\u003cspan\u003e of an inline collection, without entering the nesting level that the rest of the parser bounds with \u003c/span\u003e\u003ccode\u003emaxNestingLevel\u003c/code\u003e\u003cspan\u003e. A document made of deeply nested inline collections, such as \u003c/span\u003e\u003ccode\u003e[[[[...]]]]\u003c/code\u003e\u003cspan\u003e, 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.\u003c/span\u003e\u003c/p\u003e\u003cp\u003eAny code parsing untrusted YAML is affected. That includes \u003ccode\u003e#[MapRequestPayload]\u003c/code\u003e when the Yaml component is installed and the endpoint does not restrict \u003ccode\u003eacceptFormat\u003c/code\u003e: a single unauthenticated request with a YAML content type is enough.\u003c/p\u003e\u003cp\u003eThis issue affects \u003ccode\u003esymfony/yaml\u003c/code\u003e\u0026nbsp;through v5.4.53, v6.0.0-BETA1 through\u0026nbsp;v6.4.44, v7.0.0-BETA1 through\u0026nbsp;v7.4.17, and v8.0.0-BETA1 through\u0026nbsp;v8.1.5.\u003c/p\u003e"
            }
          ],
          "value": "In Symfony YAML prior to versions\u00a05.4.54,\u00a06.4.45,\u00a07.4.18, and\u00a08.1.6,\u00a0Yaml\\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\u00a0through v5.4.53, v6.0.0-BETA1 through\u00a0v6.4.44, v7.0.0-BETA1 through\u00a0v7.4.17, and v8.0.0-BETA1 through\u00a0v8.1.5."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-674",
              "description": "CWE-674 Uncontrolled Recursion",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-15T15:29:00.531Z",
        "orgId": "596c5446-0ce5-4ba2-aa66-48b3b757a647",
        "shortName": "Checkmarx"
      },
      "references": [
        {
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-2v3c-qxhr-7vpv"
        },
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/blog/cve-2026-109413-unbounded-recursion-in-the-yaml-inline-lexer-lets-a-single-document-crash-the-process"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/pull/65688"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "596c5446-0ce5-4ba2-aa66-48b3b757a647",
    "assignerShortName": "Checkmarx",
    "cveId": "CVE-2026-109413",
    "datePublished": "2026-10-15T14:57:00.211Z",
    "dateReserved": "2026-10-12T15:28:55.069Z",
    "dateUpdated": "2026-10-15T18:06:55.183Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-109413\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-15T18:06:37.552332Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-15T18:06:46.297Z\"}}], \"cna\": {\"title\": \"Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Nicolas Grekas\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 8.7, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"exploitMaturity\": \"NOT_DEFINED\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"HIGH\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/symfony/yaml\", \"vendor\": \"sensiolabs\", \"modules\": [\"Symfony\\\\\\\\Component\\\\\\\\Yaml\\\\\\\\Parser::lexInlineStructure()\"], \"product\": \"symfony\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"v5.4.54\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"v6.0.0-BETA1\", \"lessThan\": \"v6.4.45\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"v7.0.0-BETA1\", \"lessThan\": \"v7.4.18\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"v8.0.0-BETA1\", \"lessThan\": \"v8.1.6\", \"versionType\": \"git\"}], \"packageName\": \"symfony/yaml\", \"collectionURL\": \"https://packagist.org/packages/symfony/yaml\", \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/symfony/symfony/security/advisories/GHSA-2v3c-qxhr-7vpv\", \"tags\": [\"third-party-advisory\"]}, {\"url\": \"https://symfony.com/blog/cve-2026-109413-unbounded-recursion-in-the-yaml-inline-lexer-lets-a-single-document-crash-the-process\", \"tags\": [\"vendor-advisory\"]}, {\"url\": \"https://github.com/symfony/symfony/pull/65688\", \"tags\": [\"patch\"]}], \"x_generator\": {\"engine\": \"Vulnogram 1.0.5\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In Symfony YAML prior to versions\\u00a05.4.54,\\u00a06.4.45,\\u00a07.4.18, and\\u00a08.1.6,\\u00a0Yaml\\\\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\\u00a0through v5.4.53, v6.0.0-BETA1 through\\u00a0v6.4.44, v7.0.0-BETA1 through\\u00a0v7.4.17, and v8.0.0-BETA1 through\\u00a0v8.1.5.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eIn Symfony YAML prior to versions\u0026nbsp;\u003cspan\u003e5.4.54,\u0026nbsp;\u003c/span\u003e\u003cspan\u003e6.4.45,\u0026nbsp;\u003c/span\u003e\u003cspan\u003e7.4.18, and\u0026nbsp;\u003c/span\u003e\u003cspan\u003e8.1.6,\u0026nbsp;\u003c/span\u003e\u003ccode\u003eYaml\\\\Parser::lexInlineStructure()\u003c/code\u003e\u003cspan\u003e recursed through \u003c/span\u003e\u003ccode\u003elexInlineMapping()\u003c/code\u003e\u003cspan\u003e and \u003c/span\u003e\u003ccode\u003elexInlineSequence()\u003c/code\u003e\u003cspan\u003e for every \u003c/span\u003e\u003ccode\u003e{\u003c/code\u003e\u003cspan\u003e and \u003c/span\u003e\u003ccode\u003e[\u003c/code\u003e\u003cspan\u003e of an inline collection, without entering the nesting level that the rest of the parser bounds with \u003c/span\u003e\u003ccode\u003emaxNestingLevel\u003c/code\u003e\u003cspan\u003e. A document made of deeply nested inline collections, such as \u003c/span\u003e\u003ccode\u003e[[[[...]]]]\u003c/code\u003e\u003cspan\u003e, 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.\u003c/span\u003e\u003c/p\u003e\u003cp\u003eAny code parsing untrusted YAML is affected. That includes \u003ccode\u003e#[MapRequestPayload]\u003c/code\u003e when the Yaml component is installed and the endpoint does not restrict \u003ccode\u003eacceptFormat\u003c/code\u003e: a single unauthenticated request with a YAML content type is enough.\u003c/p\u003e\u003cp\u003eThis issue affects \u003ccode\u003esymfony/yaml\u003c/code\u003e\u0026nbsp;through v5.4.53, v6.0.0-BETA1 through\u0026nbsp;v6.4.44, v7.0.0-BETA1 through\u0026nbsp;v7.4.17, and v8.0.0-BETA1 through\u0026nbsp;v8.1.5.\u003c/p\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-674\", \"description\": \"CWE-674 Uncontrolled Recursion\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"v5.4.54\", \"versionStartIncluding\": \"0\"}, {\"criteria\": \"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"v6.4.45\", \"versionStartIncluding\": \"v6.0.0-beta1\"}, {\"criteria\": \"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"v7.4.18\", \"versionStartIncluding\": \"v7.0.0-beta1\"}, {\"criteria\": \"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"v8.1.6\", \"versionStartIncluding\": \"v8.0.0-beta1\"}], \"operator\": \"OR\"}], \"operator\": \"OR\"}], \"providerMetadata\": {\"orgId\": \"596c5446-0ce5-4ba2-aa66-48b3b757a647\", \"shortName\": \"Checkmarx\", \"dateUpdated\": \"2026-10-15T15:29:00.531Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-109413\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-15T18:06:55.183Z\", \"dateReserved\": \"2026-10-12T15:28:55.069Z\", \"assignerOrgId\": \"596c5446-0ce5-4ba2-aa66-48b3b757a647\", \"datePublished\": \"2026-10-15T14:57:00.211Z\", \"assignerShortName\": \"Checkmarx\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…