# GHSA-8327-84cj-8xjm: Stack overflow when parsing specially crafted JSON ABI strings

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-07-30T12:00:00.000Z
- Modified: 2026-11-26T08:15:02.251Z
- Also known as: RUSTSEC-2024-0362
- Weaknesses: CWE-400

## Description

Affected versions of the `alloy-json-abi` crate did not properly handle parsing of malformatted JSON ABI strings. The `JsonAbi::parse` method can be tricked into a stack overflow when processing specially crafted input. 

This stack overflow can lead to a crash of the application using this crate, potentially causing a denial of service.

The flaw was corrected in commit [4790c47](https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15).

(As written by GitHub Advisory Database.)

## Affected

- alloy-json-abi (crates.io): up to 0.7.7; from 0.0.0-0 before 0.8.0

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/alloy-rs/core/issues/702> (report, web)
- <https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15> (web)
- <https://github.com/alloy-rs/core> (package)
- <https://rustsec.org/advisories/RUSTSEC-2024-0362.html> (advisory, web)
- <https://crates.io/crates/alloy-json-abi> (package)

## Sources

- GitHub Advisory Database: [GHSA-8327-84cj-8xjm](https://github.com/advisories/GHSA-8327-84cj-8xjm), CC-BY-4.0, modified 2025-10-28
- RustSec Advisory Database: [RUSTSEC-2024-0362](https://rustsec.org/advisories/RUSTSEC-2024-0362.html), CC0-1.0, modified 2026-11-26

---

Page: https://cve.day/GHSA-8327-84cj-8xjm · Whole record: https://cve.day/GHSA-8327-84cj-8xjm.json · Rebuilt by cve.day 2026-11-26T08:27:24.889Z
