Home

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.

PUBLISHED Reserved 2026-03-10 | Published 2026-03-12 | Updated 2026-03-13 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

CWE-674: Uncontrolled Recursion

Product status

< 3.4.0
affected

References

github.com/...latted/security/advisories/GHSA-25h7-pfq9-p65f exploit

github.com/...latted/security/advisories/GHSA-25h7-pfq9-p65f

github.com/WebReflection/flatted/pull/88

github.com/...ommit/7eb65d857e1a40de11c47461cdbc8541449f0606

cve.org (CVE-2026-32141)

nvd.nist.gov (CVE-2026-32141)

Download JSON