Vulnerability
CVE-2026-32141
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.
146 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-2f73-rffg-rr67
- CGA-2f8x-c6cp-h88w
- CGA-2w6g-5q37-w9gm
- CGA-38jx-43c6-qjq8
- CGA-3chq-prvv-jqgf
- CGA-3x2f-38mh-5jmv
- CGA-447x-3qmx-pc8j
- CGA-4q6x-c3fx-f8hh
- CGA-5g55-h9wg-6xhf
- CGA-5gwv-8m29-7rfc
- CGA-5prf-x8x2-p99x
- CGA-5q5f-7v2j-qj3q
- CGA-5x9m-5pxr-23mg
- CGA-6c86-fqh3-57fm
- CGA-73pm-8234-4284
- CGA-75hr-m2w4-gw8x
- CGA-85w5-qhwx-4q5j
- CGA-cr2g-6hwj-q798
- CGA-f7qv-jqmv-v4xf
- CGA-fg7c-jqmf-556w
- CGA-gp4m-83hg-mcp3
- CGA-h4xm-w865-7p4p
- CGA-h7jw-9cx5-9jmj
- CGA-j2q4-865h-44hj
- CGA-mq2x-8fqp-hwv5
- CGA-p386-gxmq-79q7
- CGA-p3cw-68cf-649c
- CGA-p65j-53fr-hc23
- CGA-pf72-p84h-26gg
- CGA-pwq7-x756-w3fw
- CGA-r7c4-3hmp-rj6j
- CGA-vmcm-gqhx-36w4
- CGA-wpxf-vrhg-rjpq
- CGA-xpgh-h5rg-w6jw
References
- https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606
- https://github.com/WebReflection/flatted/pull/88
- https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:36651
- https://access.redhat.com/errata/RHSA-2026:40118
- https://access.redhat.com/errata/RHSA-2026:40945
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2026-32141
- https://bugzilla.redhat.com/show_bug.cgi?id=2447083
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32141.json