Email me

Rust advisories / crypto-bigint

VulnerabilityRUSTSEC-2026-0387 · crypto-bigint

RUSTSEC-2026-0387: Multiple timing variability issues in operations intended to be constant-time

Short answerA security vulnerability in the crypto-bigint crate: Multiple timing variability issues in operations intended to be constant-time. No severity score was published. Fixed in 0.7.6: update to a fixed version.

Cratecrypto-bigint
TypeVulnerability (crypto-failure)
Affected versionsBefore 0.7.6.
Fixed in0.7.6
Severitynot scored
Published2026-10-23
Last changed2026-10-24
Also known asnone

What to do

  1. See which version you have: cargo tree -i crypto-bigint (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p crypto-bigint. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example crypto-bigint = "0.7.6") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Summary

Several operations intended to be constant-time could execute secret-dependent branches, depending on the compiler and target CPU. These include subtraction, zero counting, division, and Montgomery multiplication.

Additionally, UintRef equality could terminate at the first unequal limb, and BoxedMontyForm::invert branched on whether an inverse exists.

Impact

Applications using affected operations on secret integers may leak information through timing or microarchitectural side channels. This includes information about intermediate arithmetic values, matching limbs, and invertibility.

Such leakage could potentially enable recovery of cryptographic secrets. Practical exploitability depends on the downstream algorithm, compiler, target CPU, and an attacker's ability to observe the side channel.

Resolution

Upgrade to v0.7.6, which removes the identified branches, updates ctutils to include its constant-time fixes, and adds BINSEC-based regression checks using cargo checkct for arithmetic on multiple targets.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Same cratecrypto-bigint: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ