CVE-2025-24802CWE-1240

Soundness issue with Plonky2 look up tables

High · published January 30, 2025

CVSS v3.1
8.6
EPSS
0%
Percentile
23.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00321 · 23.8th percentile
Weakness
CWE-1240 · Use of a Cryptographic Primitive with a Risky Implementation
Published
2025-01-30T19:20Z
EPSS history
Timeline
  • 30 JAN 19:20Z
    Soundness issue with Plonky2 look up tables
    cvelistv5