CVE-2025-24802 Soundness issue with Plonky2 look up tables
HighCVSS 8.6
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Plonky2 is a SNARK implementation based on techniques from PLONK and FRI. Lookup tables, whose length is not divisible by 26 = floor(num_routed_wires / 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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io plonky2(crates.io) | = 1.0.0; >= 1.0.0, < 1.0.1 | 1.0.1 | Fixed |
| 0xPolygonZero plonky2 | = = 1.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io plonky2(crates.io) | >= 1.0.0, < 1.0.1 | 1.0.1 |
| crates.io plonky2(crates.io) | = 1.0.0 | No fix listed |
| 0xPolygonZero plonky2 | = = 1.0.0 | No fix listed |
References
- https://github.com/0xPolygonZero/plonky2/security/advisories/GHSA-hj49-h7fq-px5h vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/0xPolygonZero/plonky2/commit/091047f7f10cae082716f3738ad59a583835f7b6 patch
- github.com product
- https://github.com/0xPolygonZero/plonky2/blob/main/plonky2/src/plonk/prover.rs#L97
- github.com