{"id":"RUSTSEC-2021-0156","revision":"b31e4229a9794498b6f463e12aa0d988","records":[{"revision":"b31e4229a9794498b6f463e12aa0d988","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2021-0156","aliases":["GHSA-vjf8-9fx6-mv6x"],"title":"Triton VM Soundness Vulnerability due to Missing Constraint","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.\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.","state":0,"publishedAt":"2021-06-11T12:00:00+00:00","modifiedAt":"2026-08-24T08:15:15.4528807+00:00","affected":[{"ecosystem":"crates.io","name":"triton-vm","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.42.0-alpha.4"},{"kind":"fixed","version":"4.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/triton-vm","https://rustsec.org/advisories/RUSTSEC-2021-0156.html"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2021-0156","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2021-0156","identifiers":["RUSTSEC-2021-0156","GHSA-vjf8-9fx6-mv6x"]},"retained":false,"historicalAffected":[]}],"coverage":[]}