Vulnerability · Published Mar 12, 2026 · Assigned by GitHub_M
CVE-2026-32141flatted: Unbounded recursion DoS in parse() revive phase
High 7.5
In plain English
A high-severity resource allocation without limits in flatted from WebReflection. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-flatted | no fix listed | DEBIAN-CVE-2026-32141 |
| Debian:13 | node-flatted | no fix listed | DEBIAN-CVE-2026-32141 |
| Debian:14 | node-flatted | 3.4.1~ds-1 | DEBIAN-CVE-2026-32141 |
| Ubuntu:22.04:LTS | node-flatted | no fix listed | UBUNTU-CVE-2026-32141 |
| Ubuntu:24.04:LTS | node-flatted | no fix listed | UBUNTU-CVE-2026-32141 |
| Ubuntu:25.10 | node-flatted | no fix listed | UBUNTU-CVE-2026-32141 |
| Ubuntu:26.04:LTS | node-flatted | no fix listed | UBUNTU-CVE-2026-32141 |
| Ubuntu:26.10 | node-flatted | no fix listed | UBUNTU-CVE-2026-32141 |
| npm | flatted | 3.4.0 | GHSA-25h7-pfq9-p65f |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WebReflection | flatted | < 3.4.0 |
Weakness: CWE-674, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f x_refsource_CONFIRM
- https://github.com/WebReflection/flatted/pull/88 x_refsource_MISC
- https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-32141 vdb-entry, x_refsource_REDHAT
- RHBZ#2447083 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32141.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:34342 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:9742 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13826 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36651 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40945 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40118 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5807 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21772 vendor-advisory, x_refsource_REDHAT