CVE-2024-44073
HIGH 7.5CVSS 3.1Miniscript allows stack consumption
The Miniscript (aka rust-miniscript) library before 12.2.0 for Rust allows stack consumption because it does not properly track tree depth.
- Published
- 19 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-674CWE-770CWE-787
- Also known as
- GHSA-rv9v-r4vm-gj8x
- Sources
- NVDJSONOSV GHSA-rv9v-r4vm-gj8xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rust-bitcoin | miniscriptcpe:2.3:a:rust-bitcoin:miniscript:*:*:*:*:*:rust:*:* |
< 12.2.0 | 12.2.0 |
| OSV | crates.io | miniscript | >= 12.0.0, < 12.2.0 | 12.2.0 |
| OSV | crates.io | miniscript | >= 11.0.0, < 11.2.0 | 11.2.0 |
| OSV | crates.io | miniscript | >= 10.0.0, < 10.2.0 | 10.2.0 |
| OSV | crates.io | miniscript | < 9.2.0 | 9.2.0 |
References
- https://github.com/rust-bitcoin/rust-miniscript/compare/11.2.0...12.2.0 · Patch, WEB
- https://github.com/rust-bitcoin/rust-miniscript/pull/704 · Issue Tracking, Patch, WEB
- https://github.com/rust-bitcoin/rust-miniscript/pull/712 · Issue Tracking, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-44073 · ADVISORY
- https://github.com/rust-bitcoin/rust-miniscript/pull/712/files · WEB
- https://github.com/rust-bitcoin/rust-miniscript/pull/713/files · WEB
- https://github.com/rust-bitcoin/rust-miniscript/pull/714/files · WEB
- https://github.com/rust-bitcoin/rust-miniscript/pull/715/files · WEB
- https://github.com/rust-bitcoin/rust-miniscript/commit/5b0f5e3417f027a22b066debf825dbe6644b575b · WEB
- https://github.com/rust-bitcoin/rust-miniscript/commit/8f54b5e3fb7129ed9fbed53f1cb9e6e62ea4c151 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 19 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Aug 2024)