CVE-2026-109413

Source
https://cve.org/CVERecord?id=CVE-2026-109413
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-109413.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-109413
Aliases
Downstream
Published
2026-10-15T14:57:00Z
Modified
2026-10-24T02:35:15Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process
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.

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.

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"
}
References

Affected packages

Git / github.com/symfony/symfony

Affected ranges

Type
GIT
Repo
https://github.com/symfony/symfony
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "5.4.53"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
Type
GIT
Repo
https://github.com/symfony/yaml
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "v5.4.54"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "v6.0.0-BETA1"
                },
                {
                    "fixed": "v6.4.45"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "v7.0.0-BETA1"
                },
                {
                    "fixed": "v7.4.18"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "v8.0.0-BETA1"
                },
                {
                    "fixed": "v8.1.6"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        }
    ]
}

Affected versions

v2.*
v2.0.0
v2.0.0-RC1
v2.0.0-RC2
v2.0.0-RC3
v2.0.0-RC4
v2.0.0-RC5
v2.0.0-RC6
v2.0.0BETA1
v2.0.0BETA2
v2.0.0BETA3
v2.0.0BETA4
v2.0.0BETA5
v2.0.0PR8
v2.0.1
v2.1.0
v2.1.0-BETA1
v2.1.0-BETA2
v2.1.0-BETA3
v2.1.0-BETA4
v2.1.0-RC1
v2.1.0-RC2
v2.1.1
v2.1.2
v2.2.0
v2.2.0-BETA1
v2.2.0-BETA2
v2.3.0
v2.3.0-BETA1
v2.3.0-BETA2
v2.3.1
v2.4.0-BETA1
v2.4.0-BETA2
v2.4.0-RC1
v2.5.0
v2.5.0-BETA1
v2.5.0-BETA2
v2.5.0-RC1
v2.6.0-BETA1
v3.*
v3.0.0
v3.0.0-BETA1
v3.1.0-BETA1
v3.2.0
v3.2.0-BETA1
v3.2.0-RC1
v3.2.0-RC2
v3.3.0-BETA1
v3.3.0-RC1
v4.*
v4.0.0-BETA1
v4.0.0-BETA2
v4.0.0-BETA3
v4.0.0-BETA4
v4.0.0-RC1
v4.0.0-RC2
v4.1.0-BETA1
v4.1.0-BETA2
v4.1.0-BETA3
v4.2.0
v4.2.0-BETA1
v4.2.0-BETA2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.4.20
v6.4.21
v6.4.23
v6.4.24
v6.4.25
v6.4.26
v6.4.3
v6.4.30
v6.4.34
v6.4.38
v6.4.39
v6.4.40
v6.4.41
v6.4.42
v6.4.43
v6.4.44
v6.4.7
v6.4.8
v7.*
v7.0.0
v7.0.0-BETA1
v7.0.0-BETA2
v7.0.0-BETA3
v7.0.0-RC1
v7.1.0
v7.1.0-BETA1
v7.1.0-RC1
v7.1.1
v7.2.0
v7.2.0-BETA1
v7.2.0-RC1
v7.3.0
v7.3.0-BETA1
v7.3.0-RC1
v7.4.0
v7.4.0-BETA1
v7.4.0-RC1
v7.4.0-RC2
v7.4.1
v7.4.10
v7.4.11
v7.4.12
v7.4.13
v7.4.14
v7.4.15
v7.4.17
v7.4.6
v7.4.8
v8.*
v8.0.0
v8.0.0-BETA1
v8.0.0-RC1
v8.0.0-RC2
v8.0.1
v8.1.0
v8.1.0-BETA1
v8.1.0-BETA2
v8.1.0-BETA3
v8.1.0-RC1
v8.1.1
v8.1.2
v8.1.5
Other
vPR3
vPR4
vPR5
vPR6
vPR8
vPR9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-109413.json"