Vulnerabilities

CVE-2024-58264

High 7.5 CVSS 3.1

Description

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

Description as published by the source, in English.

Key facts

Published
2025-07-27
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.4 % higher than 29 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
serde-json-wasm (crates.io) < 0.5.2 Affected
serde-json-wasm (crates.io) ≥ 1.0.0, < 1.0.1 Affected
Cosmwasm Serde-json-wasm < 1.0.1 Affected

Weakness type

  • CWE-787: Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

  • CWE-674: Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities