{
  "id": "CVE-2025-24802",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-24802",
  "published_at": "2025-01-30T19:20:14.25Z",
  "title": "Soundness issue with Plonky2 look up tables",
  "vendor": "0xPolygonZero",
  "product": "plonky2",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 -\u003e 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.",
  "cwe": "CWE-1240",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "0xPolygonZero",
        "product": "plonky2",
        "ranges": [
          "= 1.0.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "plonky2",
        "ranges": [
          "\u003e= 1.0.0, \u003c 1.0.1"
        ],
        "fixed_in": [
          "1.0.1"
        ],
        "ecosystem": "crates.io",
        "advisory": "GHSA-hj49-h7fq-px5h"
      }
    ],
    "upgrade": [
      "Upgrade plonky2 to 1.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/0xPolygonZero/plonky2/security/advisories/GHSA-hj49-h7fq-px5h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/0xPolygonZero/plonky2/commit/091047f7f10cae082716f3738ad59a583835f7b6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
