MEDIUM · CVSS 4.0 EPSS 0.5% · 35th percentile CWE-20

CVE-2026-62337: snark-verifier: Halo 2 aggregation circuit mishandles point-at-infinity proof elements

Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-x26x-7f4v-cqx7

Summary

The snark-verifier library mishandles point-at-infinity proof elements within Halo 2 aggregation circuits due to a scalar-one shortcut that passes assigned points directly into incomplete EC sum helpers. Developers using affected versions of the snark-verifier crate should update to the fixed version.

Who is affected

Recursive aggregation circuits using the Halo 2 loader can compute an MSM or accumulator with an identity proof element in a path that assumes non-identity inputs. This breaks the expected handling of point-at-infinity proof elements in aggregation, with practical exploitability depending on surrounding aggregation and final-decider checks.

Exploitability

The vulnerability has a CVSS base score of not computed with an attack vector of network, low attack complexity, no required privileges, and no user interaction, impacting low integrity. The EPSS score is 0.003 (23rd percentile) and it is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io snark-verifier >= 0, < 0.2.6 0.2.6 cargo update -p snark-verifier --precise 0.2.6

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

Attack vectorNetwork
Attack complexityLow
Attack requirementsNone
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)Low
Availability (vulnerable system)None
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What causes the vulnerability in the Halo 2 aggregation circuit?

The vulnerability is caused by a scalar-one shortcut that passes assigned proof points directly into the EC sum helper, which assumed its inputs were non-identity points rather than handling the encoded identity (0, 0).

Which package is affected by CVE-2026-62337?

The crates.io package snark-verifier is affected for versions introduced prior to fixed version 0.2.6.

Is there active exploitation of this vulnerability in the wild?

No, CISA Known Exploited Vulnerabilities status is no, indicating there is no documented active exploitation.

Original advisory description
### Summary The Halo 2 aggregation circuit could mishandle proof elements encoded as the point at infinity. When 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)`. ### Details `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`. The 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. The 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. ### Impact Recursive 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. Practical exploitability depends on the surrounding aggregation and final-decider checks, so this is rated medium severity.

References

Source records: GHSA-x26x-7f4v-cqx7 (OSV.dev) · EPSS by FIRST, 2026-11-26.