Summary
CVE-2026-133761 is a denial-of-service vulnerability (uncontrolled recursion and unbounded resource allocation) in the Symfony Serializer component’s CSV decoder. An unauthenticated remote attacker can crash a PHP process or exhaust its memory and CPU by sending a crafted CSV payload. The CVE is rated High, with a CVSS score of 8.7.
Technical details
- Root cause:
CsvEncoder::decode()splits each header cell on the key separator (.by default). It nests the decoded rows one level per separator, with no limit on depth (CWE-674, CWE-770). - Trigger conditions: The application decodes untrusted CSV data through the Serializer. From Symfony 7.4.0, this includes any
#[MapRequestPayload]argument that does not restrictacceptFormat. Versions 7.4.23 and 8.1.11 stopped decoding CSV payloads by default. - Attack vector: Network. The attacker needs no authentication and no user interaction, and attack complexity is low.
- Impact: Availability loss in two ways:
- Stack overflow: PHP’s recursive freeing of deeply nested arrays can crash the process. A CSV payload of about 448 KB can overflow an 8 MB stack.
- Resource exhaustion: Row processing rebuilds all header levels repeatedly. Payloads of about 2 KB can allocate 128 MB or more of memory, and payloads of about 1 MB can consume more than 10 seconds of CPU.
Affected software
symfony/serializerandsymfony/symfonybefore 5.4.57- 6.x before 6.4.51
- 7.x before 7.4.24
- 8.0.x to 8.1.x before 8.1.12
Severity
- CVSS score: 8.7 (High).
- The CVE record provides a CVSS v4.0 vector, not a v3.1 one:
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.
Mitigation and recommended actions
- Immediate: upgrade
symfony/serializerandsymfony/symfonyto 5.4.57, 6.4.51, 7.4.24 or 8.1.12 (or later in the same branch). The fix limits the nesting depth of CSV headers. - If you cannot patch right away, review the Symfony advisory for guidance. As a general precaution, restrict endpoints that deserialize request payloads to the formats they need, such as
acceptFormaton#[MapRequestPayload]. Do not decode untrusted CSV input.

