CVE-2025-24802

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-24802
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-24802.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-24802
Aliases
Published
2025-01-30T20:15:51Z
Modified
2025-01-31T11:51:51.070012Z
Summary
[none]
Details

Plonky2 is a SNARK implementation based on techniques from PLONK and FRI. Lookup tables, whose length is not divisible by 26 = floor(numroutedwires / 3) always include the 0 -> 0 input-output pair. Thus a malicious prover can always prove that f(0) = 0 for any lookup table f (unless its length happens to be divisible by 26). The cause of problem is that the LookupTableGate-s are padded with zeros. A workaround from the user side is to extend the table (by repeating some entries) so that its length becomes divisible by 26. This vulnerability is fixed in 1.0.1.

References

Affected packages

Git / github.com/0xpolygonzero/plonky2

Affected ranges

Type
GIT
Repo
https://github.com/0xpolygonzero/plonky2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

starky-v0.*

starky-v0.2.1

v0.*

v0.2.0
v0.2.2
v0.2.3

v1.*

v1.0.0