All vulnerabilities

crates.io

CVE-2026-61618

snark-verifier accepts non-canonical KZG accumulator limb encodings

Severity
Medium
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.2.5
Exploit chance
0.5% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-1284Improper input validation (CWE-20)
Also known as
GHSA-265x-v3qf-ff6p
Sources
OSV.dev and GitHub

Description

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.

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.

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

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