CVE-2026-32141

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:webreflection:flatted:*:*:*:*:*:node.js:*:*

History

19 Mar 2026, 21:07

Type Values Removed Values Added
References () https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606 - () https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606 - Patch
References () https://github.com/WebReflection/flatted/pull/88 - () https://github.com/WebReflection/flatted/pull/88 - Issue Tracking, Patch
References () https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f - () https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f - Exploit, Patch, Vendor Advisory
First Time Webreflection
Webreflection flatted
CPE cpe:2.3:a:webreflection:flatted:*:*:*:*:*:node.js:*:*

13 Mar 2026, 19:54

Type Values Removed Values Added
Summary
  • (es) flatted es un analizador de JSON circular. Antes de la versión 3.4.0, la función parse() de flatted utiliza una fase recursiva revive() para resolver referencias circulares en JSON deserializado. Cuando se le proporciona una carga útil manipulada con índices $ profundamente anidados o autorreferenciales, la profundidad de recursión es ilimitada, causando un desbordamiento de pila que bloquea el proceso de Node.js. Esta vulnerabilidad se ha corregido en la versión 3.4.0.
References () https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f - () https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f -

12 Mar 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-12 18:16

Updated : 2026-03-19 21:07


NVD link : CVE-2026-32141

Mitre link : CVE-2026-32141

CVE.ORG link : CVE-2026-32141


JSON object : View

Products Affected

webreflection

  • flatted
CWE
CWE-674

Uncontrolled Recursion