Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. p3-symmetric
  4. ›
  5. GHSA-3g92-f9ch-qjcm

GHSA-3g92-f9ch-qjcm: Plonky3: The sponge construction used to get a hash function from a cryptographic permutation is not collision resistant for inputs of different lengths

April 16, 2026

The impact of this vulnerability is a little difficult to estimate. It is important to note that, in circumstances where the number of elements to be hashed is known and fixed in advance, (as is the case for most STARKS), the method is collision resistant. This vulnerability only applies if a malicious user is able to manipulate the number of elements to be hashed.

That being said, there are theoretically situations where this could allow for an amortising of grinding costs (if a prover can manipulate things to get the same hasher state across multiple proofs).

References

  • github.com/Plonky3/Plonky3
  • github.com/Plonky3/Plonky3/commit/5c1dc1d64c0516a8911bbf3ea40f173c21d6ae47
  • github.com/Plonky3/Plonky3/security/advisories/GHSA-3g92-f9ch-qjcm
  • github.com/advisories/GHSA-3g92-f9ch-qjcm

Code Behaviors & Features

Detect and mitigate GHSA-3g92-f9ch-qjcm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.5.2

Solution

Unfortunately, there is no solution available yet.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-328: Use of Weak Hash

Source file

cargo/p3-symmetric/GHSA-3g92-f9ch-qjcm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:17 +0000.