{"id":"UBUNTU-CVE-2026-34043","details":"Serialize JavaScript to a superset of JSON that includes regular expressions and functions. Prior to version 7.0.5, there is a Denial of Service (DoS) vulnerability caused by CPU exhaustion. When serializing a specially crafted \"array-like\" object (an object that inherits from Array.prototype but has a very large length property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely. This issue has been patched in version 7.0.5.","modified":"2026-05-20T16:12:55.059395566Z","published":"2026-03-31T03:15:00Z","upstream":["CVE-2026-34043"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-34043"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-34043"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-qj8w-gfj5-8c6v"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/commit/f147e90269b58bb6e539cfdf3d0e20d6ad14204b"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/commit/f147e90269b58bb6e539cfdf3d0e20d6ad14204b"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/releases/tag/v7.0.5"}],"affected":[{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1-2","6.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.0.0-1","binary_name":"node-serialize-javascript"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34043.json"}},{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.0.1-1","binary_name":"node-serialize-javascript"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34043.json"}},{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1-1","6.0.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.0.2-1","binary_name":"node-serialize-javascript"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34043.json"}},{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.2-1","7.0.4+~5.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.4+~5.0.4-1","binary_name":"node-serialize-javascript"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34043.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"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"}]}