CVE-2026-32141
Prior to 3.4.0, flatted's parse() function uses a recursive revive() phase to resolve circular references in deserialized JSON.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.81%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.81% probability · 55th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-674, CWE-770
- Affected
- webreflection/flatted
- Source
- security-advisories@github.com
References
- https://github.com/WebReflection/flatted/commit/7eb65d857e1a40de11c47461cdbc8541449f0606Patch
- https://github.com/WebReflection/flatted/pull/88Issue Tracking, Patch
- https://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65fExploit, Patch, Vendor Advisory
- 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://github.com/WebReflection/flatted/security/advisories/GHSA-25h7-pfq9-p65fExploit, Patch, Vendor Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32141.json
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.