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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 42.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12node-flattedno fix listedDEBIAN-CVE-2026-32141
Debian:13node-flattedno fix listedDEBIAN-CVE-2026-32141
Debian:14node-flatted3.4.1~ds-1DEBIAN-CVE-2026-32141
Ubuntu:22.04:LTSnode-flattedno fix listedUBUNTU-CVE-2026-32141
Ubuntu:24.04:LTSnode-flattedno fix listedUBUNTU-CVE-2026-32141
Ubuntu:25.10node-flattedno fix listedUBUNTU-CVE-2026-32141
Ubuntu:26.04:LTSnode-flattedno fix listedUBUNTU-CVE-2026-32141
Ubuntu:26.10node-flattedno fix listedUBUNTU-CVE-2026-32141
npmflatted3.4.0GHSA-25h7-pfq9-p65f

Affected products (as reported)

VendorProductVersions
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