Skip to content
OpenAdvisories
Medium GHSA-vjf8-9fx6-mv6x RUSTSEC-2021-0156

Triton VM Soundness Vulnerability due to Missing Constraint

Published Aug 18, 2026 · Updated Aug 24, 2026 · Assigned by GHSA

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 packages

EcosystemPackageAffectedFixedRecord
crates.io triton-vm >= 0.42.0-alpha.4, < 4.0.0 4.0.0 GHSA-vjf8-9fx6-mv6x

References