CVE-2024-44073Rust-bitcoin Miniscript
High 7.5 No auth needed
Follow: this CVE · Rust-bitcoin · Rust-bitcoin Miniscript We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Miniscript.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rust-bitcoin | miniscript | < 12.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch