GHSA-vjf8-9fx6-mv6x
MEDIUMTriton VM Soundness Vulnerability due to Missing Constraint
The instruction sponge_absorb_mem Triton VM fails to verify that hashed values come from the claimed memory location. Malicious provers can substitute arbitrary data instead of actual memory contents.
Any application using instruction sponge_absorb_mem to hash memory data can be given a proof for a forged hash that doesn't correspond to the actual memory. This breaks the security of memory-based commitments.
The flaw was corrected in commits 17c7ba0a and ef9d9e72 by including the appropriate constraints.
- Published
- 11 Jun 2021
- Last modified
- 24 Aug 2026
- Weakness
- CWE-345
- Also known as
- RUSTSEC-2021-0156
- Sources
- OSVJSONOSV RUSTSEC-2021-0156JSON
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:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | triton-vm | >= 0.42.0-alpha.4, < 4.0.0 | 4.0.0 |
References
- https://github.com/TritonVM/triton-vm/commit/17c7ba0a19f31793f1c807a58afaf9504342aac5 · WEB
- https://github.com/TritonVM/triton-vm · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2021-0156.html · WEB, ADVISORY
- https://crates.io/crates/triton-vm · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jun 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)