{"api_version":"1","generated_at":"2026-11-27T17:36:49+00:00","cve":"CVE-2026-133761","urls":{"html":"https://cve.report/CVE-2026-133761","api":"https://cve.report/api/cve/CVE-2026-133761.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-133761","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-133761"},"summary":{"title":"CsvEncoder Nests Rows Once per Key Separator of a Header, Letting a Small CSV Payload Crash PHP","description":"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.","state":"PUBLISHED","assigner":"Symfony","published_at":"2026-11-25 10:17:14","updated_at":"2026-11-25 20:18:35"},"problem_types":["CWE-674","CWE-770","CWE-674 CWE-674 Uncontrolled Recursion","CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling"],"metrics":[{"version":"4.0","source":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","type":"Secondary","score":"8.7","severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"8.7","severity":"HIGH","vector":"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","data":{"baseScore":8.7,"baseSeverity":"HIGH","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"}}],"references":[{"url":"https://symfony.com/cve-2026-133761","name":"https://symfony.com/cve-2026-133761","refsource":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/symfony/symfony/commit/f9b2704b31e637cc79d6522b5743ba1bcaeb4602","name":"https://github.com/symfony/symfony/commit/f9b2704b31e637cc79d6522b5743ba1bcaeb4602","refsource":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-4xg9-mw5c-qq5p","name":"https://github.com/symfony/symfony/security/advisories/GHSA-4xg9-mw5c-qq5p","refsource":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-133761","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133761","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Symfony","product":"symfony/serializer","version":"affected 5.4.57 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/serializer","version":"affected 6.0.0 6.4.51 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/serializer","version":"affected 7.0.0 7.4.24 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/serializer","version":"affected 8.0.0 8.1.12 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/symfony","version":"affected 5.4.57 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/symfony","version":"affected 6.0.0 6.4.51 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/symfony","version":"affected 7.0.0 7.4.24 semver","platforms":[]},{"source":"CNA","vendor":"Symfony","product":"symfony/symfony","version":"affected 8.0.0 8.1.12 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Jack Worman","lang":"en"},{"source":"CNA","value":"Nicolas Grekas","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"133761","cve":"CVE-2026-133761","epss":"0.006420000","percentile":"0.453600000","score_date":"2026-11-26","updated_at":"2026-11-27 00:14:43"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-133761","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-11-25T19:51:28.917340Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-11-25T20:00:26.859Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://packagist.org","defaultStatus":"unaffected","packageName":"symfony/serializer","product":"symfony/serializer","repo":"https://github.com/symfony/symfony","vendor":"Symfony","versions":[{"lessThan":"5.4.57","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.4.51","status":"affected","version":"6.0.0","versionType":"semver"},{"lessThan":"7.4.24","status":"affected","version":"7.0.0","versionType":"semver"},{"lessThan":"8.1.12","status":"affected","version":"8.0.0","versionType":"semver"}]},{"collectionURL":"https://packagist.org","defaultStatus":"unaffected","packageName":"symfony/symfony","product":"symfony/symfony","repo":"https://github.com/symfony/symfony","vendor":"Symfony","versions":[{"lessThan":"5.4.57","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.4.51","status":"affected","version":"6.0.0","versionType":"semver"},{"lessThan":"7.4.24","status":"affected","version":"7.0.0","versionType":"semver"},{"lessThan":"8.1.12","status":"affected","version":"8.0.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"remediation developer","value":"Jack Worman"},{"lang":"en","type":"remediation developer","value":"Nicolas Grekas"}],"datePublic":"2026-11-25T09:36:41.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/markdown","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."}],"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."}],"metrics":[{"cvssV4_0":{"baseScore":8.7,"baseSeverity":"HIGH","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"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-25T10:00:20.081Z","orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony"},"references":[{"name":"CVE-2026-133761","tags":["vendor-advisory"],"url":"https://symfony.com/cve-2026-133761"},{"name":"GHSA-4xg9-mw5c-qq5p","tags":["vendor-advisory"],"url":"https://github.com/symfony/symfony/security/advisories/GHSA-4xg9-mw5c-qq5p"},{"tags":["patch"],"url":"https://github.com/symfony/symfony/commit/f9b2704b31e637cc79d6522b5743ba1bcaeb4602"}],"source":{"advisory":"GHSA-4xg9-mw5c-qq5p","discovery":"UNKNOWN"},"title":"CsvEncoder Nests Rows Once per Key Separator of a Header, Letting a Small CSV Payload Crash PHP","x_generator":{"engine":"symfony/ghsa-to-cve"}}},"cveMetadata":{"assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","assignerShortName":"Symfony","cveId":"CVE-2026-133761","datePublished":"2026-11-25T10:00:20.081Z","dateReserved":"2026-11-20T14:01:43.158Z","dateUpdated":"2026-11-25T20:00:26.859Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-25 10:17:14","lastModifiedDate":"2026-11-25 20:18:35","problem_types":["CWE-674","CWE-770","CWE-674 CWE-674 Uncontrolled Recursion","CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling"],"metrics":{"cvssMetricV40":[{"source":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","type":"Secondary","cvssData":{"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-25T19:51:28.917340Z","id":"CVE-2026-133761","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"133761","Ordinal":"1","Title":"CsvEncoder Nests Rows Once per Key Separator of a Header, Lettin","CVE":"CVE-2026-133761","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"133761","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CsvEncoder Nests Rows Once per Key Separator of a Header, Lettin"}]}}}