Stack Overflow Vulnerability in Symfony's CSV Processing
CVE-2026-133761

8.7HIGH

Key Information:

Vendor

Symfony

Vendor
CVE Published:
25 November 2026

What is CVE-2026-133761?

A vulnerability exists in Symfony's CsvEncoder::decode() method, which improperly handles nested CSV header rows. By default, it splits headers using a key separator, which can lead to excessive nesting without limit, ultimately causing a stack overflow in PHP. This issue allows untrusted CSV data to crash the process, particularly in scenarios where decodings involve deep nesting. For example, a CSV file with a size of 1 MB may keep the CPU busy for over 10 seconds when headers are excessively deep. From Symfony version 7.4.0 through 8.1.11, any code that decodes CSV payloads through the Serializer may be affected unless adequate restrictions are implemented. Newer versions have introduced limits to header nesting, with thresholds that prevent over-allocation and unsafe execution.

Affected Version(s)

symfony/serializer 0 < 5.4.57

symfony/serializer 6.0.0 < 6.4.51

symfony/serializer 7.0.0 < 7.4.24

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jack Worman
Nicolas Grekas
.