# CVE-2024-58264: serde-json-wasm stack overflow during recursive JSON parsing

- Severity: Low 3.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2024-01-24T12:00:00.000Z
- Modified: 2026-06-17T08:14:44.360Z
- Also known as: GHSA-rr69-rxr6-8qwf, RUSTSEC-2024-0012
- Weaknesses: CWE-674, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.

(As written by CVE List.)

## Affected

- CosmWasm serde-json-wasm: before 0.5.2; from 1.0.0 before 1.0.1; before 1.0.1
- serde-json-wasm (crates.io): from 1.0.0 before 1.0.1; before 0.5.2; from 0.0.0-0 before 0.5.2

## Every score

- mitre: CVSS:3.1 3.2 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://rustsec.org/advisories/RUSTSEC-2024-0012.html> (advisory, third-party-advisory, web)
- <https://github.com/advisories/GHSA-rr69-rxr6-8qwf> (third-party-advisory)
- <https://crates.io/crates/serde-json-wasm> (package, product)
- <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)

## Sources

- CVE List: [CVE-2024-58264](https://www.cve.org/CVERecord?id=CVE-2024-58264), CVE Terms of Use, modified 2025-07-28
- GitHub Advisory Database: [GHSA-rr69-rxr6-8qwf](https://github.com/advisories/GHSA-rr69-rxr6-8qwf), CC-BY-4.0, modified 2025-07-28
- RustSec Advisory Database: [RUSTSEC-2024-0012](https://rustsec.org/advisories/RUSTSEC-2024-0012.html), CC0-1.0, modified 2025-10-28
- NVD: [CVE-2024-58264](https://nvd.nist.gov/vuln/detail/CVE-2024-58264), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58264 · Whole record: https://cve.day/CVE-2024-58264.json · Rebuilt by cve.day 2026-11-25T22:58:52.830Z
