{"id":"CVE-2024-58264","aliases":["CVE-2024-58264","GHSA-rr69-rxr6-8qwf","RUSTSEC-2024-0012"],"related":[],"kind":"vulnerability","state":"published","title":"serde-json-wasm stack overflow during recursive JSON parsing","summary":"The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete serde-json-wasm para Rust anterior a la versión 1.0.1 permite el consumo de la pila a través de datos JSON profundamente anidados.","source":"nvd"}],"published":"2024-01-24T12:00:00.000Z","modified":"2026-06-17T08:14:44.360Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","score":3.2,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","score":3.2,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-674","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.5.2","status":"affected"},{"type":"semver","introduced":"1.0.0","fixed":"1.0.1","status":"affected"}],"vendor":"CosmWasm","product":"serde-json-wasm","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.0.1"}],"ecosystem":"crates.io","package":"serde-json-wasm","purl":"pkg:cargo/serde-json-wasm","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.2"}],"ecosystem":"crates.io","package":"serde-json-wasm","purl":"pkg:cargo/serde-json-wasm","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.5.2"},{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.0.1"}],"ecosystem":"crates.io","package":"serde-json-wasm","purl":"pkg:cargo/serde-json-wasm","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"1.0.1"}],"vendor":"cosmwasm","product":"serde-json-wasm","cpe":"cpe:2.3:a:cosmwasm:serde-json-wasm:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0012.html","tags":["advisory","third-party-advisory","web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/advisories/GHSA-rr69-rxr6-8qwf","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/serde-json-wasm","tags":["package","product"],"sources":["cvelist","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58264","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/CosmWasm/serde-json-wasm/commit/a9a9b9bf243862bd2afbf6853fca97f30dc4f620","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CosmWasm/serde-json-wasm/commit/e78f9e28b3a2151d3175ee88ab2a001bf9515429","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CosmWasm/serde-json-wasm","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-28T15:06:11.600Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58264","url":"https://www.cve.org/CVERecord?id=CVE-2024-58264","licence":"CVE Terms of Use","modified":"2025-07-28T15:06:17.073Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rr69-rxr6-8qwf","url":"https://github.com/advisories/GHSA-rr69-rxr6-8qwf","licence":"CC-BY-4.0","modified":"2025-07-28T16:27:07.678Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0012","url":"https://rustsec.org/advisories/RUSTSEC-2024-0012.html","licence":"CC0-1.0","modified":"2025-10-28T06:02:18.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58264","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58264","licence":"Public domain","modified":"2026-06-17T08:14:44.360Z"}],"updatedAt":"2026-11-25T22:58:52.830Z","epss":{"score":0.00547,"percentile":0.47255,"date":"2026-12-01T12:00:22.000Z"}}