Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
WebReflection flatted < 3.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-flatted 3.4.1~ds-1 —
Debian 13 node-flatted No fix yet —
Debian 12 node-flatted No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-flatted No fix yet —
Ubuntu 26.04 LTS node-flatted No fix yet —
Ubuntu 25.10 node-flatted No fix yet —
Ubuntu 24.04 LTS node-flatted No fix yet —
Ubuntu 22.04 LTS node-flatted No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-flatted No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling eslint 10.1.0-r0 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling langfuse-3-worker 3.163.0-r0 —
Wolfi rolling prism 5.14.3-r10 —
Wolfi rolling renovate 43.84.0-r1 —
Wolfi rolling sqlpad 7.5.7-r27 —
Wolfi rolling tileserver-gl 5.5.0-r8 —
Wolfi rolling vitess-23 23.0.3-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm flatted < 3.4.0 3.4.0 GHSA-25h7-pfq9-p65f

Advisories 2

References