{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-133761",
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "state": "PUBLISHED",
        "assignerShortName": "Symfony",
        "dateReserved": "2026-11-20T14:01:43.158Z",
        "datePublished": "2026-11-25T10:00:20.081Z",
        "dateUpdated": "2026-11-25T20:00:26.859Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
                "shortName": "Symfony",
                "dateUpdated": "2026-11-25T10:00:20.081Z"
            },
            "title": "CsvEncoder Nests Rows Once per Key Separator of a Header, Letting a Small CSV Payload Crash PHP",
            "datePublic": "2026-11-25T09:36:41.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "CsvEncoder::decode() splits each header cell on the key separator, . by default, and nests the decoded rows one level per separator, with no limit. PHP frees nested arrays recursively, so freeing data that is nested deeply enough overflows the C stack and crashes the process. With a stack of 8 MB, a CSV body of 448 KB is enough.\n\nEach row also builds all the levels of its headers again. With a deep header, a CSV body of 2 KB made of short rows allocates more than 128 MB. A body of 1 MB keeps the CPU busy for 10 seconds or more.\n\nAny code that decodes untrusted CSV with the Serializer is affected. From Symfony 7.4.0, this included every #[MapRequestPayload] argument that doesn't restrict acceptFormat, until 7.4.23 and 8.1.11 stopped decoding CSV payloads by default.\n\nCSV headers can now be nested up to 512 levels, the default depth of json_decode(). Decoding also stops when the rows go through more than 16 header levels, or create more than 4 arrays, per byte of data. A header row of up to 5 levels always fits, whatever the rows contain. Beyond these limits, decode() throws a NotEncodableValueException, which #[MapRequestPayload] turns into a 400 response.",
                    "supportingMedia": [
                        {
                            "type": "text/markdown",
                            "base64": false,
                            "value": "`CsvEncoder::decode()` splits each header cell on the key separator, `.` by default, and nests the decoded rows one level per separator, with no limit. PHP frees nested arrays recursively, so freeing data that is nested deeply enough overflows the C stack and crashes the process. With a stack of 8 MB, a CSV body of 448 KB is enough.\n\nEach row also builds all the levels of its headers again. With a deep header, a CSV body of 2 KB made of short rows allocates more than 128 MB. A body of 1 MB keeps the CPU busy for 10 seconds or more.\n\nAny code that decodes untrusted CSV with the Serializer is affected. From Symfony 7.4.0, this included every `#[MapRequestPayload]` argument that doesn't restrict `acceptFormat`, until 7.4.23 and 8.1.11 stopped decoding CSV payloads by default.\n\nCSV headers can now be nested up to 512 levels, the default depth of `json_decode()`. Decoding also stops when the rows go through more than 16 header levels, or create more than 4 arrays, per byte of data. A header row of up to 5 levels always fits, whatever the rows contain. Beyond these limits, `decode()` throws a `NotEncodableValueException`, which `#[MapRequestPayload]` turns into a 400 response."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Symfony",
                    "product": "symfony/serializer",
                    "collectionURL": "https://packagist.org",
                    "packageName": "symfony/serializer",
                    "repo": "https://github.com/symfony/symfony",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThan": "5.4.57",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.0",
                            "status": "affected",
                            "lessThan": "6.4.51",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.0",
                            "status": "affected",
                            "lessThan": "7.4.24",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.0.0",
                            "status": "affected",
                            "lessThan": "8.1.12",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "Symfony",
                    "product": "symfony/symfony",
                    "collectionURL": "https://packagist.org",
                    "packageName": "symfony/symfony",
                    "repo": "https://github.com/symfony/symfony",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThan": "5.4.57",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.0",
                            "status": "affected",
                            "lessThan": "6.4.51",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.0",
                            "status": "affected",
                            "lessThan": "7.4.24",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.0.0",
                            "status": "affected",
                            "lessThan": "8.1.12",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-674",
                            "description": "CWE-674 Uncontrolled Recursion",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-770",
                            "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "version": "4.0",
                        "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",
                        "baseScore": 8.7,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://symfony.com/cve-2026-133761",
                    "name": "CVE-2026-133761",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/symfony/symfony/security/advisories/GHSA-4xg9-mw5c-qq5p",
                    "name": "GHSA-4xg9-mw5c-qq5p",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/symfony/symfony/commit/f9b2704b31e637cc79d6522b5743ba1bcaeb4602",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Jack Worman",
                    "type": "remediation developer"
                },
                {
                    "lang": "en",
                    "value": "Nicolas Grekas",
                    "type": "remediation developer"
                }
            ],
            "source": {
                "advisory": "GHSA-4xg9-mw5c-qq5p",
                "discovery": "UNKNOWN"
            },
            "x_generator": {
                "engine": "symfony/ghsa-to-cve"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-25T19:51:28.917340Z",
                                "id": "CVE-2026-133761",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-25T20:00:26.859Z"
                }
            }
        ]
    }
}