{"id":"CVE-2026-62337","aliases":["CVE-2026-62337","GHSA-x26x-7f4v-cqx7"],"related":[],"kind":"vulnerability","state":"published","title":"SNARK Verifier: Halo 2 aggregation mishandles point-at-infinity proof elements","summary":"SNARK Verifier is a generic (S)NARK verifier. Prior to 0.2.5, the Halo 2 aggregation circuit can mishandle proof points encoded as the point at infinity. `EcPointLoader::multi_scalar_multiplication` places a `Value::Assigned(_)` base paired with `Value::Constant(ONE)` into its unscaled variable-base list and passes it directly to `sum_with_const`. The default shim delegates to halo2-lib `EccChip::sum`, whose incomplete affine addition assumes nonidentity input points. A prover-controlled proof point encoded as `(0, 0)` can therefore enter the final aggregation sum through the scalar-one shortcut and affect the MSM or accumulator computation. Practical exploitability depends on the surrounding aggregation and final-decider checks; the advisory does not establish universal acceptance of invalid proofs. This issue is fixed in version 0.2.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SNARK Verifier is a generic (S)NARK verifier. Prior to 0.2.5, the Halo 2 aggregation circuit can mishandle proof points encoded as the point at infinity. `EcPointLoader::multi_scalar_multiplication` places a `Value::Assigned(_)` base paired with `Value::Constant(ONE)` into its unscaled variable-base list and passes it directly to `sum_with_const`. The default shim delegates to halo2-lib `EccChip::sum`, whose incomplete affine addition assumes nonidentity input points. A prover-controlled proof point encoded as `(0, 0)` can therefore enter the final aggregation sum through the scalar-one shortcut and affect the MSM or accumulator computation. Practical exploitability depends on the surrounding aggregation and final-decider checks; the advisory does not establish universal acceptance of invalid proofs. This issue is fixed in version 0.2.5.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe Halo 2 aggregation circuit could mishandle proof elements encoded as the point at infinity.\n\nWhen an assigned proof point appeared in an MSM term with constant scalar one, the Halo 2 loader used a scalar-one shortcut that passed the assigned point directly into the EC sum helper. The EC sum implementation used by that path assumed its inputs were non-identity points, while assigned proof points could represent the encoded identity `(0, 0)`.\n\n### Details\n`EcPointLoader::multi_scalar_multiplication` partitions MSM terms by scalar and base type. For `(Value::Constant(ONE), Value::Assigned(_))`, the loader placed the assigned base into the non-scaled variable-base list and later passed those points to `sum_with_const`.\n\nThe default Halo 2 shim delegates `sum_with_const` to halo2-lib `EccChip::sum`. In affected versions, that sum helper used incomplete affine addition and assumed that every input point was non-identity. A prover-controlled proof point encoded as `(0, 0)` could therefore enter the final aggregation sum through the scalar-one shortcut and affect the MSM or accumulator computation.\n\nThe issue was fixed in halo2-lib by updating `EccChip::sum` to treat encoded identity inputs as no-ops and to return `(0, 0)` when the total sum is the identity. This removes the non-identity input precondition from callers such as the Halo 2 aggregation loader.\n\n### Impact\nRecursive aggregation circuits using the Halo 2 loader could compute an MSM or accumulator with an identity proof element in a path whose implementation assumed non-identity inputs. This breaks the expected handling of point-at-infinity proof elements in aggregation.\n\nPractical exploitability depends on the surrounding aggregation and final-decider checks, so this is rated medium severity.","format":"markdown","source":"ghsa"}],"published":"2026-10-30T20:00:55.328Z","modified":"2026-11-20T00:15:06.390Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 0.2.5","status":"affected"}],"vendor":"axiom-crypto","product":"snark-verifier","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.6"}],"ecosystem":"crates.io","package":"snark-verifier","purl":"pkg:cargo/snark-verifier","source":"ghsa"}],"references":[{"url":"https://github.com/axiom-crypto/snark-verifier/security/advisories/GHSA-x26x-7f4v-cqx7","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/axiom-crypto/halo2-lib/commit/f53be0939e2accf0dd7672b1a4abe80af73dadf3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/axiom-crypto/snark-verifier/commit/bbfcc721d714bea0d44a27c8fc6c4736e73ca853","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/axiom-crypto/snark-verifier/releases/tag/v0.2.5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62337","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/axiom-crypto/snark-verifier/commit/364e82654c746b063aff528d8cb660890908278a","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/snark-verifier/0.2.6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axiom-crypto/snark-verifier","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-02T14:58:24.604Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62337","url":"https://www.cve.org/CVERecord?id=CVE-2026-62337","licence":"CVE Terms of Use","modified":"2026-11-02T14:58:37.998Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x26x-7f4v-cqx7","url":"https://github.com/advisories/GHSA-x26x-7f4v-cqx7","licence":"CC-BY-4.0","modified":"2026-11-20T00:15:06.390Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62337","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62337","licence":"Public domain","modified":"2026-11-02T19:35:33.347Z"}],"updatedAt":"2026-11-25T22:59:48.021Z","epss":{"score":0.00488,"percentile":0.43636,"date":"2026-12-01T12:00:22.000Z"}}