GHSA-vjf8-9fx6-mv6x
medium
Triton VM Soundness Vulnerability due to Missing Constraint
- Severity
- medium CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2021-0156
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| triton-vm (crates.io) | from 0.42.0-alpha.4 before 4.0.0 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-vjf8-9fx6-mv6x changed 2026-08-24 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0156 changed 2026-08-24 | CC0-1.0 |