Live threats

All CVEs / Rust-bitcoin

CVE-2024-44073Rust-bitcoin Miniscript

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Aug 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787, CWE-674
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

The Miniscript (aka rust-miniscript) library before 12.2.0 for Rust allows stack consumption because it does not properly track tree depth.

Original NVD text.

What to do

  1. Apply the vendor's security update for Miniscript.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io miniscript ≥ 12.0.0 < 12.2.0 12.2.0 cargo update -p miniscript --precise 12.2.0
crates.io miniscript ≥ 11.0.0 < 11.2.0 11.2.0 cargo update -p miniscript --precise 11.2.0
crates.io miniscript ≥ 10.0.0 < 10.2.0 10.2.0 cargo update -p miniscript --precise 10.2.0
crates.io miniscript < 9.2.0 9.2.0 cargo update -p miniscript --precise 9.2.0

Per OSV / GitHub Advisories (GHSA-rv9v-r4vm-gj8x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rust-bitcoinminiscript< 12.2.0

Official sources

References

Links published by the sources. Open them with care.