CVE-2024-58264 json
serde-json-wasm stack overflow during recursive JSON parsing
published 2024-01-24 2 y ago modified 2026-06-17 4 mo ago also GHSA-rr69-rxr6-8qwf , RUSTSEC-2024-0012 , EUVD-2024-54825
- cvss
- 3.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
The serde-json-wasm crate before 1.0.1 for Rust allows stack consumption via deeply nested JSON data.
Patch / fix
- crates.io serde-json-wasm 0.5.2, 1.0.1
- CosmWasm serde-json-wasm 0.5.2, 1.0.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | serde-json-wasm | >=1.0.0, <1.0.1 <0.5.2 >=0.0.0-0, <0.5.2 |
1.0.1 0.5.2 |
Affected products
- CosmWasm serde-json-wasm
Classification
References
-
github.com
/CosmWasm/serde-json-wasm/commit/a9a9b9bf243862bd2afbf6853fca97f30dc4f620
web
-
github.com
/CosmWasm/serde-json-wasm/commit/e78f9e28b3a2151d3175ee88ab2a001bf9515429
web
-
rustsec.org
/advisories/RUSTSEC-2024-0012.html
web, third-party-advisory, advisory
-
github.com
/advisories/GHSA-rr69-rxr6-8qwf
third-party-advisory
-
crates.io
/crates/serde-json-wasm
product, package
-
nvd.nist.gov
/vuln/detail/CVE-2024-58264
advisory
-
github.com
/CosmWasm/serde-json-wasm
package
Sources
- CVE List CVE-2024-58264
- GitHub Advisory GHSA-rr69-rxr6-8qwf
- NVD CVE-2024-58264
- OSV RUSTSEC-2024-0012
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.