CVE-2025-62370: Alloy dyn abi :TypedData` Hashing Vulnerability

HIGH
Advisory Identifier: GHSA-pgp9-98jm-wwq2
CVSS 7.5
CWE-20 CWE-248
Published
Advisory Summary

CVE-2025-62370 is a HIGH (CVSS 7.5) :typeddata` hashing vulnerability (CWE-20: Improper Input Validation) affecting Alloy dyn abi libraries in the crates.io ecosystem. The issue involves :typeddata` hashing. Remediation is available by upgrading affected packages to version 0.8.26, 1.4.1.

CVE-2025-62370 at a Glance

CVE Identifier CVE-2025-62370
GHSA Identifier GHSA-pgp9-98jm-wwq2
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Alloy dyn abi
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-62370

To remediate this vulnerability, upgrade all affected Alloy dyn abi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

alloy-dyn-abi fixed: 0.8.26
Upgrade alloy-dyn-abi to 0.8.26
alloy-dyn-abi fixed: 1.4.1
Upgrade alloy-dyn-abi to 1.4.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for alloy-dyn-abi

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-62370, inspect your project dependencies for Alloy dyn abi:

inspect dependencies for alloy-dyn-abi

Analyze the terminal output to locate any version of Alloy dyn abi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.26), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Alloy dyn abi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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`](https://crates.io/crates/alloy-dyn-abi/1.4.1) and backported to [`v0.8.26`](https://crates.io/crates/alloy-dyn-abi/0.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](https://www.turnkey.com/)

CVE-2025-62370 Affected Alloy dyn abi Versions

2 component(s)
Fixed Versions:
0.8.261.4.1
Product / Package Ecosystem Affected Versions Fixed Version
alloy-dyn-abi
crates.io
< 0.8.26
0.8.26
alloy-dyn-abi
crates.io
≥ 1.0.0
< 1.4.1
1.4.1

References

Frequently Asked Questions

What is CVE-2025-62370?
CVE-2025-62370 is a security vulnerability in Alloy dyn abi involving :TypedData` hashing under CWE-20: Improper Input Validation.
Which Alloy dyn abi versions are affected?
Affected versions include releases prior to 0.8.26, 1.4.1 across affected packages: alloy-dyn-abi.
What version fixes CVE-2025-62370?
Upgrading to 0.8.26, 1.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is alloy-dyn-abi affected?
Yes, alloy-dyn-abi is affected in releases prior to 0.8.26, 1.4.1. Upgrade your dependency to 0.8.26, 1.4.1 or later.
What is the CVSS score of CVE-2025-62370?
CVE-2025-62370 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-62370?
CVE-2025-62370 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check crates.io dependencies for CVE-2025-62370?
Run the dependency tree command: 'inspect dependencies for alloy-dyn-abi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pgp9-98jm-wwq2",
  "modified" : "2025-10-15T19:14:37Z",
  "published" : "2025-10-15T17:27:12Z",
  "aliases" : [ "CVE-2025-62370" ],
  "summary" : "alloy-dyn-abi has DoS vulnerability on `alloy_dyn_abi::TypedData` hashing",
  "details" : "### Impact\n\nAn uncaught panic triggered by malformed input to `alloy_dyn_abi::TypedData` could lead to a denial-of-service (DoS) via `eip712_signing_hash()`.\n\nSoftware 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.\n\n### Patches\n\nThe 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`](https://crates.io/crates/alloy-dyn-abi/1.4.1) and backported to [`v0.8.26`](https://crates.io/crates/alloy-dyn-abi/0.8.26).\n\n### Workarounds\n\nThere is no known workaround that mitigates the vulnerability. Upgrading to a patched version is the recommended course of action.\n\n### Reported by\n\nChristian Reitter & Zeke Mostov from [Turnkey](https://www.turnkey.com/)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "alloy-dyn-abi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.8.26"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "alloy-dyn-abi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/alloy-rs/core/security/advisories/GHSA-pgp9-98jm-wwq2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-62370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alloy-rs/core/commit/7823e9af8c20e9fcfb5360f5eafd891c457ebccf"
  }, {
    "type" : "WEB",
    "url" : "https://crates.io/crates/alloy-dyn-abi/0.8.26"
  }, {
    "type" : "WEB",
    "url" : "https://crates.io/crates/alloy-dyn-abi/1.4.1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alloy-rs/core"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2025-0073.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-248" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-15T17:27:12Z",
    "nvd_published_at" : "2025-10-15T16:15:36Z"
  }
}