GitHub Advisoryadvisory · crates.io

GHSA-rjr4-v43m-pxq6 Triton VM has a Soundness Vulnerability due to Improper Sampling of Randomness

LOW Published 2026-01-21 Modified 2026-01-22 Official page ↗
Ecosystem
crates.io
Packages
triton-vm
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Weaknesses
CWE-330
Reviewed
2026-01-21

Affected packages

• crates.io triton-vm: >= 0.41.0, < 2.0.0 → fixed in 2.0.0

Description

In affected versions of Triton VM, the verifier failed to correctly sample randomness in the FRI sub-protocol. Malicious provers can exploit this to craft proofs for arbitrary statements that this verifier accepts as valid, undermining soundness. Protocols that rely on proofs and the supplied verifier of the affected versions of Triton VM are completely broken. Protocols implementing their own verifier might be unaffected. The flaw was corrected in commit 3a045d63, where the relevant randomness is sampled correctly.

Related

Weakness · CWE (1)

  • CWE-330 Use of Insufficiently Random Values weakness

References