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

CVE-2026-61618: snark-verifier accepts non-canonical KZG accumulator limb encodings

Published 2026-11-18 · Updated 2026-11-18 · Also known as GHSA-265x-v3qf-ff6p

Summary

The snark-verifier crate fails to enforce canonical limb bounds for KZG accumulator encodings, allowing malformed inputs to reach point reconstruction. Developers using affected versions of snark-verifier should upgrade to version 0.2.5 or later to enforce strict input validation.

Who is affected

This vulnerability affects deployments using snark-verifier for EVM-based or native KZG proof verification. While circuit-level constraints often mitigate impact in standard SDK aggregation, the lack of boundary checks allows non-canonical encodings and can trigger panics in the native verifier.

Exploitability

The vulnerability is rated as medium severity with an attack vector requiring no authentication or user interaction. Current data shows an EPSS score of 0.004, and the vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

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

Affected packages

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

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 specifically caused this vulnerability?

The EVM verifier reconstructed elliptic-curve coordinates from limbs without verifying that each limb fell within the required canonical bounds, performing the check only after reconstruction.

Can this vulnerability cause a denial of service?

Yes, in the native verifier path, malformed accumulator limb encodings can trigger assertion or unwrap-based panics.

Is there active exploitation of this CVE?

No, this is not documented as a CISA Known Exploited Vulnerability.

Original advisory description
### Summary KZG accumulator public-instance limbs were decoded without consistently enforcing canonical limb bounds before reconstructing elliptic-curve coordinates. In 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. ### Details `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. The 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. The 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`. ### Impact For 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.

References

Source records: GHSA-265x-v3qf-ff6p (OSV.dev) · EPSS by FIRST, 2026-11-22.