flatted <=3.3.0 Recursion Stack Overflow in parse()
CVE-2026-32141 Published on March 12, 2026
flatted: Unbounded recursion DoS in parse() revive phase
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.
Vulnerability Analysis
CVE-2026-32141 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Types
What is a Stack Exhaustion Vulnerability?
The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.
CVE-2026-32141 has been classified to as a Stack Exhaustion vulnerability or weakness.
Allocation of Resources Without Limits or Throttling
The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Products Associated with CVE-2026-32141
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
WebReflection flatted:- Version < 3.4.0 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2026-32141
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| npm | flatted | < 3.4.0 | 3.4.0 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.