CVE-2025-62370: alloy-dyn-abi has DoS vulnerability on `alloy_dyn_abi::TypedData` hashing
Impact An uncaught panic triggered by malformed input to alloydynabi::TypedData could lead to a denial-of-service (DoS) via eip712signinghash(). Software with high availability requirements such as network services may be particularly impacted. If in use, external auto-restarting mechanisms can partially mitigate the availability issues unless repeated attacks are possible.
Published Oct 15, 2025
Affected packages
alloy-dyn-abi
- Ecosystem
- Rust (crates.io)
- Affected
- < 0.8.26
- Fixed in
- 0.8.26
- Check
cargo tree -i alloy-dyn-abi
alloy-dyn-abi
- Ecosystem
- Rust (crates.io)
- Affected
- >= 1.0.0, < 1.4.1
- Fixed in
- 1.4.1
- Check
cargo tree -i alloy-dyn-abi
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
An uncaught panic triggered by malformed input to alloy_dyn_abi::TypedData could lead to a denial-of-service (DoS) via eip712_signing_hash().
Software with high availability requirements such as network services may be particularly impacted. If in use, external auto-restarting mechanisms can partially mitigate the availability issues unless repeated attacks are possible.
Patches
The vulnerability was patched by adding a check to ensure the element is not empty before accessing its first element; an error is returned if it is empty. The fix is included in version `v1.4.1` and backported to `v0.8.26`.
Workarounds
There is no known workaround that mitigates the vulnerability. Upgrading to a patched version is the recommended course of action.
Reported by
Christian Reitter & Zeke Mostov from Turnkey
Credited to emostov, cr-tk.
References
- https://github.com/alloy-rs/core/security/advisories/GHSA-pgp9-98jm-wwq2
- https://crates.io/crates/alloy-dyn-abi/0.8.26
- https://crates.io/crates/alloy-dyn-abi/1.4.1
- https://rustsec.org/advisories/RUSTSEC-2025-0073.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-62370
- https://github.com/alloy-rs/core/commit/7823e9af8c20e9fcfb5360f5eafd891c457ebccf
- https://github.com/advisories/GHSA-pgp9-98jm-wwq2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
