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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
WebReflection flatted
< 3.4.0affected
References
- https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f ↗
- https://github.com/WebReflection/flatted/pull/88 ↗
- https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606 ↗
- 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 ↗
- https://access.redhat.com/errata/RHSA-2026:34342 ↗
- https://access.redhat.com/errata/RHSA-2026:9742 ↗
- https://access.redhat.com/errata/RHSA-2026:13826 ↗
- https://access.redhat.com/errata/RHSA-2026:36651 ↗
- https://access.redhat.com/errata/RHSA-2026:40945 ↗
- https://access.redhat.com/errata/RHSA-2026:40118 ↗
- https://access.redhat.com/errata/RHSA-2026:5807 ↗
- https://access.redhat.com/errata/RHSA-2026:21772 ↗