{"id":"CVE-2026-32141","published":"2026-03-12T18:08:09Z","modified":"2026-09-04T12:05:00Z","title":"flatted: Unbounded recursion DoS in parse() revive phase","vendor":"WebReflection","product":"flatted","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00898,"percentile":0.60465,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WebReflection/flatted/pull/88","tags":["x_refsource_MISC"]},{"url":"https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32141","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2447083","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32141.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34342","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:9742","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13826","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36651","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:40945","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:40118","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:5807","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":12.09},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"webreflection","affectedVersions":[{"vendor":"WebReflection","product":"flatted","versions":["< 3.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-13T16:20:15.479714Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"flatted","vulnerableRanges":["<3.4.0"],"patched":["3.4.0"],"from":["GHSA-25h7-pfq9-p65f"],"provenance":"source"}],"summary":{"text":"The flatted library's parse() function, specifically its recursive revive() phase used to resolve circular references, contains an unbounded recursion flaw in versions before 3.4.0. An attacker who can supply a crafted JSON payload with deeply nested or self-referential $ indices can trigger a stack overflow that crashes the Node.js process, and this requires only network access to the application's input with no authentication, configuration, or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:34Z"},"euvd":{"id":"EUVD-2026-11653","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-webreflection-flatted-cve-2026-32141","children":[{"from":"CVE-2026-32141","to":"CVE-2026-33228","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:flatted","fromFixed":"3.4.0","toFixed":"3.4.2","daysApart":8},{"kind":"same-code","provenance":"machine","files":["cjs/index.js","es.js","esm.js","esm/index.js","index.js"],"commits":["https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606","https://github.com/WebReflection/flatted/commit/885ddcc33cf9657caf38c57c7be45ae1c5272802"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.35,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-32141","published":"2026-03-12","fixed":"3.4.0","kev":false},{"cve":"CVE-2026-33228","published":"2026-03-20","fixed":"3.4.2","kev":false}],"package":"npm:flatted"}}