CVE-2026-61618: Snark verifier Snark-verifier Accepts Non-canonical KZG Accumulator Vulnerability
MODERATECVE-2026-61618 is a MODERATE snark-verifier accepts non-canonical kzg accumulator vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Snark verifier libraries in the crates.io ecosystem. The issue involves snark-verifier accepts non-canonical kzg accumulator limb encodings. Remediation is available by upgrading affected packages to version 0.2.5.
CVE-2026-61618 at a Glance
How to Fix CVE-2026-61618
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.5
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-61618, 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.5), 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-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. 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-61618 Affected Snark verifier Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snark-verifier
|
crates.io |
< 0.2.5
|
0.2.5
|
References
Frequently Asked Questions
What is CVE-2026-61618?
Which Snark verifier versions are affected?
What version fixes CVE-2026-61618?
Is snark-verifier affected?
What CWE is associated with CVE-2026-61618?
How can I check crates.io dependencies for CVE-2026-61618?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-265x-v3qf-ff6p",
"modified" : "2026-11-18T16:13:34Z",
"published" : "2026-11-18T16:13:34Z",
"aliases" : [ "CVE-2026-61618" ],
"summary" : "snark-verifier accepts non-canonical KZG accumulator limb encodings",
"details" : "### Summary\nKZG accumulator public-instance limbs were decoded without consistently enforcing canonical limb bounds before reconstructing elliptic-curve coordinates.\n\nIn the generated EVM verifier, accumulator coordinates were reconstructed from public-instance limbs using shifted additions before point validation. The verifier checked the reconstructed point, but did not independently check that every limb was below the configured limb bound before reconstruction.\n\n### Details\n`PlonkProof::read` takes accumulator public-instance scalars selected by `accumulator_indices` and passes them into `AccumulatorEncoding::from_repr`. For the EVM loader, `LimbsEncoding::from_repr` forwards those limbs to `EvmLoader::ec_point_from_limbs`, where each coordinate was reconstructed with `shl` and `add` before `validate_ec_point` was applied. That validation checked the reconstructed affine point, not whether the original limb encoding was canonical.\n\nThe native verifier path had a related robustness issue: malformed accumulator limb encodings could reach assertion or unwrap-based decoding and panic instead of returning a verification error.\n\nThe affected code is in `snark-verifier/src/loader/evm/loader.rs` and `snark-verifier/src/pcs/kzg/accumulator.rs`, specifically `EvmLoader::ec_point_from_limbs` and `LimbsEncoding::from_repr`.\n\n### Impact\nFor standard SDK aggregation circuits, accumulator limbs are expected to be constrained by the circuit before reaching the verifier boundary, which limits practical exploitability. The missing verifier-side checks nevertheless allowed non-canonical encodings at the boundary, and the native verifier path could be crashed by malformed accumulator public inputs.",
"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.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/snark-verifier/security/advisories/GHSA-265x-v3qf-ff6p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-61618"
}, {
"type" : "WEB",
"url" : "https://github.com/axiom-crypto/snark-verifier/commit/d6aaf66d4706f5317cf61d5dbe00c14e7fbdbb70"
}, {
"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-1284", "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-18T16:13:34Z",
"nvd_published_at" : "2026-10-30T20:17:10Z"
}
}