{"id":"UBUNTU-CVE-2026-32141","details":"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.","modified":"2026-03-19T08:49:05.407321Z","published":"2026-03-12T18:16:00Z","upstream":["CVE-2026-32141"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-32141"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-32141"}],"affected":[{"package":{"name":"node-flatted","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-flatted@2.0.1~dfsg-4?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1~dfsg-3","2.0.1~dfsg-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-flatted","binary_version":"2.0.1~dfsg-4"},{"binary_name":"node-flatted","binary_version":"2.0.1~dfsg-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32141.json"}},{"package":{"name":"node-flatted","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-flatted@3.2.5~ds-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2~dfsg-1","2.0.2~dfsg-4","3.2.2~ds-2","3.2.2~ds-3","3.2.4~ds-1","3.2.5~ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-flatted","binary_version":"3.2.5~ds-1"},{"binary_name":"node-flatted","binary_version":"3.2.5~ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32141.json"}},{"package":{"name":"node-flatted","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-flatted@3.2.7~ds-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.7~ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-flatted","binary_version":"3.2.7~ds-1"},{"binary_name":"node-flatted","binary_version":"3.2.7~ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32141.json"}},{"package":{"name":"node-flatted","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-flatted@3.2.7~ds-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.7~ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-flatted","binary_version":"3.2.7~ds-1"},{"binary_name":"node-flatted","binary_version":"3.2.7~ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32141.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}