Skip to main content
EPSS 0.8%top 45%

CVE-2026-32141: CWE-674: Uncontrolled Recursion in WebReflection flatted

0
High
VulnerabilityCVE-2026-32141cvecve-2026-32141cwe-674gcvecwe-770
Published: 03/12/2026 (03/12/2026, 18:08:09 UTC)
Source: CVE Database V5
Vendor/Project: WebReflection
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

WebReflection

flatted

Affected versions
<3.4.0
flatted
pkg:npm/flatted
Affected versions
<3.4.0

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

AILast updated: 08/17/2026, 13:15:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses