Skip to main content

CVE-2025-66016 — cggmp21 has a missing check in cggmp21 — CVE Details

CRITICAL

cggmp21 has a missing check in the ZK proof used in CGGMP21

Published November 25, 2025Updated November 27, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.30%). Schedule for your next planned update.

Does your project use an affected cggmp21 version?

Paste your Cargo.lock to check it for CVE-2025-66016 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

Impact

cggmp21 concerns a missing check in the ZK proof that enables an attack in which a single malicious signer can reconstruct full private key.

Patches

  • cggmp21 v0.6.3 is a patch release that contains a fix that introduces this specific missing check
  • However, cggmp21 recommends upgrading to cggmp24 v0.7.0-alpha.2 which contains many other security checks as a precaution. Follow migration guideline to upgrade.

Workarounds

Update to cggmp21 v0.6.3, a minor release that contains a minimal security patch.

However, for full mitigation, users will need to upgrade to cggmp24 v0.7.0-alpha.2 as it contains many more security check implementations.

Resources

Read this blog post to learn more.

Advisory Timeline

  • First published November 25, 2025 (366 days ago).
  • Last revised November 27, 2025 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update cggmp21 to 0.6.3 or later
cargo update -p cggmp21 --precise 0.6.3
Cargo
Update cggmp24 to 0.7.0-alpha.2 or later
cargo update -p cggmp24 --precise 0.7.0-alpha.2

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: crates.io (2).

PackageFixed In
cggmp21 crates.io · Affected: All versions0.6.3
cggmp24 crates.io · Affected: All versions0.7.0-alpha.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-345
    Insufficient Verification of Data AuthenticityMITRE
  • CWE-347
    Improper Verification of Cryptographic SignatureMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2025-66016?
cggmp21 has a missing check in the ZK proof used in CGGMP21. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2025-66016?
CVE-2025-66016 affects cggmp21 and cggmp24. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-66016 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.30%
EPSS percentile: 14.7

This is a below-median EPSS score — only 14.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-m95p-425x-x889
RUSTSEC-2025-0129
RUSTSEC-2025-0130

Related CVEs

  • RUSTSEC-2026-0501
    CRITICAL

    Shamir backup recovery accepts a share at x = 0, so a supplied share can substitute the recovered private key

  • CVE-2026-69157
    CRITICAL

    Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive

  • CVE-2025-66017
    HIGH

    cggmp24 and cggmp21 are vulnerable to signature forgery through altered presignatures

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock