| Name | CVE-2026-32141 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| node-flatted (PTS) | bullseye | 2.0.2~dfsg-1 | vulnerable |
| bookworm | 3.2.7~ds-1 | vulnerable | |
| trixie | 3.2.7~ds-1+deb13u1 | vulnerable | |
| forky, sid | 3.4.2~ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| node-flatted | source | (unstable) | 3.4.1~ds-1 |
[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)