CVE-2026-133761

HighCVSS 8.7/10Last modified Nov 30, 2026

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.

Each 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.

Any 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.

CSV 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

CVSS 4.0 8.7/10CVSS: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

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
Symfonysymfony/serializer< 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.12
Symfonysymfony/symfony< 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.12

References

Timeline

Published
Nov 25, 2026
Last modified
Nov 30, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1337626.0Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APP_RUNTIME_MCVE-2026-1337635.3The sandbox checks that a template may call toString() on an object before converting it to a string. For an object, the is true test evaluaCVE-2026-1337642.3The sandbox checks that a template may call toString() on an object before converting it to a string. It didn't check the input of tests. ThCVE-2026-1337655.3The sandbox checks that a template may call toString() on an object before converting it to a string. Since Twig 3.23.0, assignments like x CVE-2026-1337662.3Since Twig 3.28.0, the sandbox skips the toString() check of an argument whose PHP parameter can't hold a string, like an int. A spread arguCVE-2026-1337675.3When the parent of an embed tag was an expression other than a string or a variable, the sandbox didn't see that expression. The functions, CVE-2026-1337685.3The join filter converted a value that isn't iterable with (array) $value. For an object, that gives every property, including the private aCVE-2026-1337692.3Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of CVE-2026-133774.8Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WatchGuard Fireware OS SIP ProxCVE-2026-1337702.1The sandbox allows every method of Twig\Markup objects, including their public constructor. A sandboxed template can therefore call __constrCVE-2026-1337712.3The escaper considered x.attr, x['key'] and x.method() safe whenever {% import ... as x %} appeared anywhere in the template. Macro calls haCVE-2026-1337722.3The guard tag compiles only one of its branches, depending on whether a callable exists. The other branch was still parsed, though. The exte
CVE-2026-133761: High severity, CVSS 8.7 | Vulnix