{"id":"CVE-2025-24802","published":"2025-01-30T19:20:14Z","modified":"2025-01-30T19:55:17Z","title":"Soundness issue with Plonky2 look up tables","vendor":"0xPolygonZero","product":"plonky2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00329,"percentile":0.26739,"provenance":"source"},"cwes":[{"id":"CWE-1240","name":"Use of a Cryptographic Primitive with a Risky Implementation"}],"references":[{"url":"https://github.com/0xPolygonZero/plonky2/security/advisories/GHSA-hj49-h7fq-px5h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xPolygonZero/plonky2/commit/091047f7f10cae082716f3738ad59a583835f7b6","tags":["x_refsource_MISC"]},{"url":"https://github.com/0xPolygonZero/plonky2/blob/main/plonky2/src/plonk/prover.rs#L97","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":5.35},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"0xpolygonzero","affectedVersions":[{"vendor":"0xPolygonZero","product":"plonky2","versions":["= 1.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-30T19:54:59.096334Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"plonky2","vulnerableRanges":[">=1.0.0, <1.0.1"],"patched":["1.0.1"],"from":["GHSA-hj49-h7fq-px5h"],"provenance":"source"}],"summary":{"text":"Plonky2, the SNARK implementation from 0xPolygonZero, has a soundness flaw in its lookup tables: when a table's length is not divisible by 26, its LookupTableGate padding causes the 0 -> 0 input-output pair to always be included. An attacker who can act as a prover can therefore falsely prove that f(0) = 0 for any lookup table f, with no authentication or user interaction needed, provided the table length is not a multiple of 26.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:27Z"},"euvd":{"id":"EUVD-2025-0168","exploited":false,"provenance":"source"}}