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.

Github Repository NVD

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.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

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: Red Hat Cluster Observability Operator 1.5.0: Red Hat Developer Hub 1.8: Red Hat Developer Hub 1.9: Red Hat OpenShift AI 2.16: Red Hat OpenShift Dev Spaces 3.28: Logging Subsystem for Red Hat OpenShift: Red Hat 3scale API Management Platform 2: Red Hat Ansible Automation Platform 2: Red Hat build of Apicurio Registry 2: Red Hat Data Grid 8: Red Hat Edge Manager 1: Red Hat Fuse 7: Red Hat Single Sign-On 7: Red Hat streams for Apache Kafka 2: Red Hat streams for Apache Kafka 3: Red Hat Cryostat 4: Red Hat AMQ Broker 7: Red Hat build of OptaPlanner 8: Red Hat Directory Server 11: Red Hat Directory Server 12: Red Hat Directory Server 13: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 9: Red Hat JBoss Enterprise Application Platform 7: Red Hat JBoss Enterprise Application Platform 8: Red Hat JBoss Enterprise Application Platform Expansion Pack: Red Hat OpenShift AI (RHOAI): Red Hat OpenShift Container Platform 4: Red Hat Process Automation 7: Red Hat Quay 3:

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
0.56%
Percentile
41.91%

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.