{"id":"GHSA-vjf8-9fx6-mv6x","aliases":["GHSA-vjf8-9fx6-mv6x","RUSTSEC-2021-0156"],"related":[],"kind":"vulnerability","state":"published","title":"Triton VM Soundness Vulnerability due to Missing Constraint","summary":"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.\n\nAny 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.\n\nThe flaw was corrected in commits `17c7ba0a` and `ef9d9e72` by including the appropriate constraints.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\nAny 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.\n\nThe flaw was corrected in commits `17c7ba0a` and `ef9d9e72` by including the appropriate constraints.","format":"markdown","source":"ghsa"}],"published":"2021-06-11T12:00:00.000Z","modified":"2026-08-24T08:26:02.039Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"semver","introduced":"0.42.0-alpha.4","status":"affected","fixed":"4.0.0"}],"ecosystem":"crates.io","package":"triton-vm","purl":"pkg:cargo/triton-vm","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.42.0-alpha.4","status":"affected","fixed":"4.0.0"}],"ecosystem":"crates.io","package":"triton-vm","purl":"pkg:cargo/triton-vm","source":"rustsec"}],"references":[{"url":"https://github.com/TritonVM/triton-vm/commit/17c7ba0a19f31793f1c807a58afaf9504342aac5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TritonVM/triton-vm","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0156.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/triton-vm","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vjf8-9fx6-mv6x","url":"https://github.com/advisories/GHSA-vjf8-9fx6-mv6x","licence":"CC-BY-4.0","modified":"2026-08-24T08:26:02.039Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0156","url":"https://rustsec.org/advisories/RUSTSEC-2021-0156.html","licence":"CC0-1.0","modified":"2026-08-24T08:15:15.452Z"}],"updatedAt":"2026-11-25T22:56:43.088Z"}