All vulnerabilities

crates.io

CVE-2026-62337

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

Severity
Medium
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.2.6
Exploit chance
0.3% in the next 30 daysHigher than 23% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Improper input validation (CWE-20)
Also known as
GHSA-x26x-7f4v-cqx7
Sources
OSV.dev and GitHub

Description

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).

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.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
snark-verifiercrates.io · osv:crates.io:snark-verifier
  • Every version before 0.2.6

About snark-verifier

Downloads in the last 90 days (crates.io)
118,399crates.io, 24 Nov 2026
Total downloads (crates.io)
365,031crates.io, 24 Nov 2026

Vulnerabilities in snark-verifier

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for snark-verifier

References