Resource exhaustion in Webreflection Flatted
CVE-2026-32141
flatted is a circular JSON parser. Prior to 3.4.0, flatted's parse() function uses a recursive revive() phase to resolve circular references in deserialized JSON. When given a crafted payload with deeply nested or self-referential $ indices, the recursion depth is unbounded, causing a stack overflow that crashes the Node.js process. This vulnerability is fixed in 3.4.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.009, 60.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Webreflection Flatted — versions < 3.4.0
Weakness classification (CWE)
References
- https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f (Exploit, Patch, Vendor Advisory)
- https://github.com/WebReflection/flatted/pull/88 (Patch, Issue Tracking)
- https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606 (Patch)
- access.redhat.com/errata/RHSA-2026:13826
- access.redhat.com/errata/RHSA-2026:21772
- access.redhat.com/errata/RHSA-2026:5807
- access.redhat.com/errata/RHSA-2026:9742
- access.redhat.com/security/cve/CVE-2026-32141
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32141.json