CVE-2026-32141
HIGH 7.5CVSS 3.1flatted vulnerable to unbounded recursion DoS in parse() revive phase
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.
- Published
- 12 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-674CWE-770
- Also known as
- GHSA-25h7-pfq9-p65f
- Sources
- NVDJSONOSV GHSA-25h7-pfq9-p65fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | webreflection | flattedcpe:2.3:a:webreflection:flatted:*:*:*:*:*:node.js:*:* |
< 3.4.0 | 3.4.0 |
| OSV | npm | flatted | < 3.4.0 | 3.4.0 |
References
- https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606 · Patch, WEB
- https://github.com/WebReflection/flatted/pull/88 · Issue Tracking, Patch, WEB
- https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65f · Exploit, Patch, Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:36651
- https://access.redhat.com/errata/RHSA-2026:40118
- https://access.redhat.com/errata/RHSA-2026:40945
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2026-32141
- https://bugzilla.redhat.com/show_bug.cgi?id=2447083
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32141.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-32141 · ADVISORY
- https://github.com/WebReflection/flatted · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Mar 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Mar 2026)