Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft deeply nested circular reference JSON
-
ExploitSend payload to flatted parse() function
-
ExecutionTrigger unbounded recursion in revive()
-
ImpactStack overflow crashes Node.js process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Application must use flatted library version prior to 3.4.0 with parse() function exposed to untrusted JSON input, no special authentication or configuration required for remote exploitation. |
| Impact | CVSS 7.5 (HIGH). Attack vector: Network. Complexity: Low. Privileges required: None. User interaction: None. |
| Exploit ScenarioDerived | An attacker could exploit this vulnerability to compromise the affected system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
flatted is a circular JSON parser. versions up to 3.4.0 is affected by uncontrolled recursion (CVSS 7.5).
RemediationAI
Fixed in version 3.4.0.. Restrict network access to the affected service where possible.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability (CWE-674: Uncontrolled Recursion) affects flatted is a circular JSON parser.. 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.
Know when Flatted gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 5 npm packages depend on flatted (2 direct, 3 indirect)
Ecosystem-wide dependent count for version 3.4.0.
Executive ViewAI
A high-severity vulnerability in the flatted JSON parsing library (versions ≤3.4.0) allows attackers to cause denial of service through uncontrolled recursion. Any application or service using this library is at risk of crashes and service interruptions, potentially affecting customer availability and business operations.
Implement strict input validation to reject deeply nested JSON structures; deploy WAF rules to detect and block malformed JSON payloads; enable resource limits and timeout controls on parsing operations; consider network segmentation to isolate affected services; monitor for abnormal CPU and memory consumption indicative of recursion attacks; evaluate alternative JSON parsing libraries without this vulnerability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-11653
GHSA-25h7-pfq9-p65f
NVD
CVE.org
EPSS
VulDB
Exploit-DB