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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 12 Mar 2026 18:15:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-12T18:08:09.634Z

Reserved: 2026-03-10T22:19:36.546Z

Link: CVE-2026-32141

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-12T18:16:25.837

Modified: 2026-03-12T18:16:25.837

Link: CVE-2026-32141

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses