CVE-2026-32141

flatted: Unbounded recursion DoS in parse() revive phase

Published Mar 12, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-25h7-pfq9-p65f flatted vulnerable to unbounded recursion DoS in parse() revive phase
History
Type Values Removed Values Added
CPEs cpe:2.3:a:webreflection:flatted:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Webreflection
Webreflection flatted
Vendors & Products Webreflection
Webreflection flatted
Type Values Removed Values Added
Description 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.
Title flatted: Unbounded recursion DoS in parse() revive phase
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 4, 2026, 12:05 PM
Reserved
Mar 10, 2026, 10:19 PM
Status
Modified
Published
Mar 12, 2026, 6:16 PM
Modified
Sep 4, 2026, 1:18 PM
Severity
Important
Public date
Mar 12, 2026, 6:08 PM