CVE-2026-32141: CWE-674: Uncontrolled Recursion in WebReflection flatted
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.
AI Analysis
Technical Summary
The flatted library, used for parsing circular JSON, had a vulnerability in versions before 3.4.0 where its parse() function's recursive revive() phase could be exploited with specially crafted JSON payloads containing deeply nested or self-referential $ indices. This exploitation causes unbounded recursion leading to a stack overflow and crashes the Node.js process. This is classified under CWE-674 (Uncontrolled Recursion) and CWE-770 (Allocation of Resources Without Limits or Throttling). The vulnerability has a CVSS v3.1 score of 7.5 (high severity) with network attack vector, low complexity, no privileges or user interaction required, and results in high availability impact (denial of service). The issue is fixed in flatted version 3.4.0.
Potential Impact
An attacker can cause a denial of service by crashing the Node.js process using a crafted JSON payload that triggers unbounded recursion in the flatted library's parse() function. This results in a stack overflow and process crash, impacting availability. There is no impact on confidentiality or integrity.
Mitigation Recommendations
A fix is available in flatted version 3.4.0. Users should upgrade to version 3.4.0 or later to remediate this vulnerability. The Red Hat advisory notes that no alternative mitigations meet their criteria for ease of use and applicability, so upgrading is the recommended action.
CVE-2026-32141: CWE-674: Uncontrolled Recursion in WebReflection flatted
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.
CVSS v3.1
Score 7.5high
Affected software
WebReflection
flatted
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The flatted library, used for parsing circular JSON, had a vulnerability in versions before 3.4.0 where its parse() function's recursive revive() phase could be exploited with specially crafted JSON payloads containing deeply nested or self-referential $ indices. This exploitation causes unbounded recursion leading to a stack overflow and crashes the Node.js process. This is classified under CWE-674 (Uncontrolled Recursion) and CWE-770 (Allocation of Resources Without Limits or Throttling). The vulnerability has a CVSS v3.1 score of 7.5 (high severity) with network attack vector, low complexity, no privileges or user interaction required, and results in high availability impact (denial of service). The issue is fixed in flatted version 3.4.0.
Potential Impact
An attacker can cause a denial of service by crashing the Node.js process using a crafted JSON payload that triggers unbounded recursion in the flatted library's parse() function. This results in a stack overflow and process crash, impacting availability. There is no impact on confidentiality or integrity.
Mitigation Recommendations
A fix is available in flatted version 3.4.0. Users should upgrade to version 3.4.0 or later to remediate this vulnerability. The Red Hat advisory notes that no alternative mitigations meet their criteria for ease of use and applicability, so upgrading is the recommended action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-10T22:19:36.546Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-32141","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9742","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13826","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5807","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","vendor":"Red Hat"}]
Threat ID: 69b302c82f860ef943d65df6
Added to database: 03/12/2026, 18:15:36 UTC
Last enriched: 08/17/2026, 13:15:39 UTC
Last updated: 09/14/2026, 22:01:33 UTC
Views: 326
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.