CVE-2024-58264
HIGH 7.5CVSS 3.1serde-json-wasm stack overflow during recursive JSON parsing
The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.
- Published
- 27 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-674CWE-787
- Also known as
- GHSA-rr69-rxr6-8qwfRUSTSEC-2024-0012
- Sources
- NVDJSONOSV GHSA-rr69-rxr6-8qwfJSONOSV RUSTSEC-2024-0012JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 3.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cosmwasm | serde-json-wasmcpe:2.3:a:cosmwasm:serde-json-wasm:*:*:*:*:*:rust:*:* |
< 1.0.1 | 1.0.1 |
| OSV | crates.io | serde-json-wasm | >= 1.0.0, < 1.0.1 | 1.0.1 |
| OSV | crates.io | serde-json-wasm | < 0.5.2 | 0.5.2 |
| OSV | crates.io | serde-json-wasm | >= 0.0.0-0, < 0.5.2; >= 1.0.0, < 1.0.1 | 0.5.2, 1.0.1 |
References
- https://crates.io/crates/serde-json-wasm · Product, PACKAGE
- https://github.com/advisories/GHSA-rr69-rxr6-8qwf · Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2024-0012.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-58264 · ADVISORY
- https://github.com/CosmWasm/serde-json-wasm/commit/a9a9b9bf243862bd2afbf6853fca97f30dc4f620 · WEB
- https://github.com/CosmWasm/serde-json-wasm/commit/e78f9e28b3a2151d3175ee88ab2a001bf9515429 · WEB
- https://github.com/CosmWasm/serde-json-wasm · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 27 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Feb 2024)