{"id":"CVE-2026-61618","aliases":["CVE-2026-61618","GHSA-265x-v3qf-ff6p"],"related":[],"kind":"vulnerability","state":"published","title":"SNARK Verifier: noncanonical accumulator limb decoding","summary":"SNARK Verifier is a generic (S)NARK verifier. Prior to 0.2.5, KZG accumulator public-instance limbs are decoded without consistently enforcing canonical limb bounds before elliptic-curve coordinate reconstruction. `PlonkProof::read` selects scalars using `accumulator_indices` and passes them to `AccumulatorEncoding::from_repr`. For the EVM loader, `LimbsEncoding::from_repr` forwards them to `EvmLoader::ec_point_from_limbs` in `snark-verifier/src/loader/evm/loader.rs`, where `shl` and `add` reconstruct coordinates before `validate_ec_point` checks the resulting affine point rather than the original limb bounds. The related native path in `snark-verifier/src/pcs/kzg/accumulator.rs` can reach assertion- or unwrap-based decoding and panic instead of returning a verification error. This allows noncanonical encodings at the verifier boundary and can crash the native verifier. Standard SDK aggregation circuits are expected to constrain accumulator limbs before this boundary, which limits practical exploitability. 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, KZG accumulator public-instance limbs are decoded without consistently enforcing canonical limb bounds before elliptic-curve coordinate reconstruction. `PlonkProof::read` selects scalars using `accumulator_indices` and passes them to `AccumulatorEncoding::from_repr`. For the EVM loader, `LimbsEncoding::from_repr` forwards them to `EvmLoader::ec_point_from_limbs` in `snark-verifier/src/loader/evm/loader.rs`, where `shl` and `add` reconstruct coordinates before `validate_ec_point` checks the resulting affine point rather than the original limb bounds. The related native path in `snark-verifier/src/pcs/kzg/accumulator.rs` can reach assertion- or unwrap-based decoding and panic instead of returning a verification error. This allows noncanonical encodings at the verifier boundary and can crash the native verifier. Standard SDK aggregation circuits are expected to constrain accumulator limbs before this boundary, which limits practical exploitability. This issue is fixed in version 0.2.5.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2026-10-30T19:59:26.867Z","modified":"2026-11-18T16:30:05.601Z","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","CWE-1284"],"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.5"}],"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-265x-v3qf-ff6p","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/axiom-crypto/snark-verifier/commit/d6aaf66d4706f5317cf61d5dbe00c14e7fbdbb70","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-61618","tags":["advisory"],"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-05T02:36:49.094Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61618","url":"https://www.cve.org/CVERecord?id=CVE-2026-61618","licence":"CVE Terms of Use","modified":"2026-11-05T02:37:02.204Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-265x-v3qf-ff6p","url":"https://github.com/advisories/GHSA-265x-v3qf-ff6p","licence":"CC-BY-4.0","modified":"2026-11-18T16:30:05.601Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61618","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61618","licence":"Public domain","modified":"2026-11-05T03:17:29.053Z"}],"updatedAt":"2026-11-25T22:59:48.018Z","epss":{"score":0.00507,"percentile":0.36458,"date":"2026-11-30T12:00:22.000Z"}}