CVE-2026-62337: snark-verifier Halo 2 Aggregation Circuit Mishandles Vulnerability
MODERATECVE-2026-62337 is a MODERATE halo 2 aggregation circuit mishandles vulnerability (CWE-20: Improper Input Validation) affecting snark-verifier libraries in the crates.io ecosystem. The issue involves halo 2 aggregation circuit mishandles point-at-infinity proof elements. Remediation is available by upgrading affected packages to version 0.2.6.
CVE-2026-62337 at a Glance
How to Fix CVE-2026-62337
To remediate this vulnerability, upgrade all affected snark-verifier dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade snark-verifier to 0.2.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for snark-verifier
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-62337, inspect your project dependencies for snark-verifier:
inspect dependencies for snark-verifier
Analyze the terminal output to locate any version of snark-verifier in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In snark-verifier, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-62337 Affected snark-verifier Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snark-verifier
|
crates.io |
< 0.2.6
|
0.2.6
|
References
Frequently Asked Questions
What is CVE-2026-62337?
Which snark-verifier versions are affected?
What version fixes CVE-2026-62337?
Is snark-verifier affected?
What CWE is associated with CVE-2026-62337?
How can I check crates.io dependencies for CVE-2026-62337?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x26x-7f4v-cqx7",
"modified" : "2026-11-20T00:01:59Z",
"published" : "2026-11-20T00:01:59Z",
"aliases" : [ "CVE-2026-62337" ],
"summary" : "snark-verifier: Halo 2 aggregation circuit mishandles point-at-infinity proof elements",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "snark-verifier"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 0.2.5"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/snark-verifier/security/advisories/GHSA-x26x-7f4v-cqx7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-62337"
}, {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/halo2-lib/commit/f53be0939e2accf0dd7672b1a4abe80af73dadf3"
}, {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/snark-verifier/commit/364e82654c746b063aff528d8cb660890908278a"
}, {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/snark-verifier/commit/bbfcc721d714bea0d44a27c8fc6c4736e73ca853"
}, {
"type" : "WEB",
"url" : "https://crates.io/crates/snark-verifier/0.2.6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/axiom-crypto/snark-verifier"
}, {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/snark-verifier/releases/tag/v0.2.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-20T00:01:59Z",
"nvd_published_at" : "2026-10-30T20:17:12Z"
}
}