Skip to content

[Bug] crypto-bigint vulnerability RUSTSEC-2026-0387 in Alloy dependencies #4445

Open

Description

@pbandj082

Component

signers

What version of Alloy are you on?

2.5.0

Operating System

Linux (GitHub Actions)

Describe the bug

cargo deny reports RUSTSEC-2026-0387 through Alloy's dependencies, including Alloy 2.5.0.

The advisory lists crypto-bigint >=0.7.6 as patched. Alloy's current dependency requirements still resolve to crypto-bigint 0.5.5.

Dependency path

One reported path is:

alloy 2.5.0
└── alloy-signer 2.5.0
    └── elliptic-curve 0.13.8
        └── crypto-bigint 0.5.5

There are also paths through k256 0.13.4.

Related work

alloy-rs/core#1147 updates k256 to 0.14. However, alloy-signer also directly depends on k256 0.13 and elliptic-curve 0.13, so the core update alone appears insufficient to remove the affected dependency.

Activity

  1. jjeangal commented on Oct 30, 2026

    @jjeangal

    Hi! Any update on this? Saw the progress on alloy-rs/core#1147 are the signer updates planned too, or is there a recommended workaround in the meantime?

  2. kutluhaneth46 commented on Nov 25, 2026

    @kutluhaneth46

    This looks blocked on the k256 / elliptic-curve bump in alloy-rs/core#1147 (still open). Once that lands and alloy-signer resolves to a crypto-bigint >= 0.7.6 path, cargo deny should clear RUSTSEC-2026-0387. I am not opening a parallel bump so we do not fight that PR.

  3. kutluhaneth46 commented on Nov 25, 2026

    @kutluhaneth46

    Follow-up after looking at an alloy-side k256/elliptic-curve 0.14 bump for this advisory:

    • Bumping workspace k256/elliptic-curve to 0.14 is the right direction (clears the alloy-signer → elliptic-curve → crypto-bigint 0.5.5 path called out here).
    • Call sites need the ToEncodedPoint → ToSec1Point / to_sec1_point migration (alloy-signer, alloy-signer-local, alloy-signer-azure, alloy-consensus).
    • ecdsa 0.17 also changes Signature::normalize_s (always returns Self) and sign_prehash_recoverable (returns (Signature, RecoveryId) directly).
    • alloy-primitives on crates.io still implements From<(k256::ecdsa::Signature, …)> against k256 0.13, so a solo alloy bump does not type-check until alloy-rs/core#1147 lands (or we temporarily pin those crates to that branch).
    • crates.io yubihsm 0.42 still pins k256 0.13; upstream main already has 0.14, so the optional yubihsm feature needs a git pin or a new crates.io release.

    I am not opening a parallel PR that fights #1147. Once that core PR merges (or if maintainers want a stacked draft against its branch), I can open the alloy follow-up promptly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions