CVE-2026-32141

NameCVE-2026-32141
Descriptionflatted 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-flatted (PTS)bullseye2.0.2~dfsg-1vulnerable
bookworm, trixie3.2.7~ds-1vulnerable
forky, sid3.4.2~ds-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-flattedsource(unstable)3.4.1~ds-1

Notes

[trixie] - node-flatted <no-dsa> (Minor issue)
[bookworm] - node-flatted <no-dsa> (Minor issue)
[bullseye] - node-flatted <postponed> (Minor issue, DoS)
https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f
https://github.com/WebReflection/flatted/pull/88
Fixed by: https://github.com/WebReflection/flatted/commit/7774aae45d3775c842abe9d071fd009171a5fc0c (v3.4.0)

Search for package or bug name: Reporting problems