{"id":"GHSA-rr69-rxr6-8qwf","summary":"serde-json-wasm stack overflow during recursive JSON parsing","details":"When parsing untrusted, deeply nested JSON, the stack may overflow, possibly enabling a Denial of Service attack. This was fixed by adding a check for recursion depth.","aliases":["CVE-2024-58264","RUSTSEC-2024-0012"],"modified":"2025-07-28T16:27:07.678146Z","published":"2024-02-09T16:03:32Z","database_specific":{"github_reviewed_at":"2024-02-09T16:03:32Z","nvd_published_at":null,"cwe_ids":[],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58264"},{"type":"WEB","url":"https://github.com/CosmWasm/serde-json-wasm/commit/a9a9b9bf243862bd2afbf6853fca97f30dc4f620"},{"type":"WEB","url":"https://github.com/CosmWasm/serde-json-wasm/commit/e78f9e28b3a2151d3175ee88ab2a001bf9515429"},{"type":"PACKAGE","url":"https://github.com/CosmWasm/serde-json-wasm"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2024-0012.html"}],"affected":[{"package":{"name":"serde-json-wasm","ecosystem":"crates.io","purl":"pkg:cargo/serde-json-wasm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.0.1"}]}],"versions":["1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-rr69-rxr6-8qwf/GHSA-rr69-rxr6-8qwf.json"}},{"package":{"name":"serde-json-wasm","ecosystem":"crates.io","purl":"pkg:cargo/serde-json-wasm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-rr69-rxr6-8qwf/GHSA-rr69-rxr6-8qwf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}