CVE-2025-66016: Cggmp21 Cggmp21 Has A Missing Check Vulnerability

CRITICAL
Advisory Identifier: GHSA-m95p-425x-x889
CWE-345 CWE-347
Published
Advisory Summary

CVE-2025-66016 is a CRITICAL cggmp21 has a missing check vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Cggmp21 libraries in the crates.io ecosystem. The issue involves cggmp21 has a missing check in the zk proof used in cggmp21. Remediation is available by upgrading affected packages to version 0.6.3, 0.7.0-alpha.2.

CVE-2025-66016 at a Glance

CVE Identifier CVE-2025-66016
GHSA Identifier GHSA-m95p-425x-x889
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product Cggmp21
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix CVE-2025-66016

To remediate this vulnerability, upgrade all affected Cggmp21 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cggmp21 fixed: 0.6.3
Upgrade cggmp21 to 0.6.3
cggmp24 fixed: 0.7.0-alpha.2
Upgrade cggmp24 to 0.7.0-alpha.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for cggmp21

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-66016, inspect your project dependencies for Cggmp21:

inspect dependencies for cggmp21

Analyze the terminal output to locate any version of Cggmp21 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.3), 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-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Cggmp21, 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

### 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](https://github.com/LFDT-Lockness/cggmp21/blob/v0.7.0-alpha.2/CGGMP21_MIGRATION.md) 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](https://www.dfns.co/article/cggmp21-vulnerabilities-patched-and-explained) to learn more.

CVE-2025-66016 Affected Cggmp21 Versions

2 component(s)
Fixed Versions:
0.6.30.7.0-alpha.2
Product / Package Ecosystem Affected Versions Fixed Version
cggmp21
crates.io
< 0.6.3
0.6.3
cggmp24
crates.io
< 0.7.0-alpha.2
0.7.0-alpha.2

References

Frequently Asked Questions

What is CVE-2025-66016?
CVE-2025-66016 is a security vulnerability in Cggmp21 involving cggmp21 has a missing check in the ZK proof used in CGGMP21 under CWE-345: Insufficient Verification of Data Authenticity.
Which Cggmp21 versions are affected?
Affected versions include releases prior to 0.6.3, 0.7.0-alpha.2 across affected packages: cggmp21, cggmp24.
What version fixes CVE-2025-66016?
Upgrading to 0.6.3, 0.7.0-alpha.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cggmp21 affected?
Yes, cggmp21 is affected in releases prior to 0.6.3. Upgrade your dependency to 0.6.3 or later.
Is cggmp24 affected?
Yes, cggmp24 is affected in releases prior to 0.7.0-alpha.2. Upgrade your dependency to 0.7.0-alpha.2 or later.
What CWE is associated with CVE-2025-66016?
CVE-2025-66016 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check crates.io dependencies for CVE-2025-66016?
Run the dependency tree command: 'inspect dependencies for cggmp21'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m95p-425x-x889",
  "modified" : "2025-11-27T08:59:47Z",
  "published" : "2025-11-25T20:41:04Z",
  "aliases" : [ "CVE-2025-66016" ],
  "summary" : "cggmp21 has a missing check in the ZK proof used in CGGMP21",
  "details" : "### Impact\ncggmp21  concerns a missing check in the ZK proof that enables an attack in which a single malicious signer can reconstruct full private key.\n\n### Patches\n* `cggmp21 v0.6.3` is a patch release that contains a fix that introduces this specific missing check\n* However, cggmp21 recommends upgrading to `cggmp24 v0.7.0-alpha.2` which contains many other security checks as a precaution. Follow [migration guideline](https://github.com/LFDT-Lockness/cggmp21/blob/v0.7.0-alpha.2/CGGMP21_MIGRATION.md) to upgrade.\n\n### Workarounds\nUpdate to `cggmp21 v0.6.3`, a minor release that contains a minimal security patch.\n\nHowever, for full mitigation, users will need to upgrade to `cggmp24 v0.7.0-alpha.2` as it contains many more security check implementations.\n\n### Resources\nRead this [blog post](https://www.dfns.co/article/cggmp21-vulnerabilities-patched-and-explained) to learn more.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "cggmp21"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "cggmp24"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.0-alpha.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/LFDT-Lockness/cggmp21/security/advisories/GHSA-m95p-425x-x889"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66016"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/LFDT-Lockness/cggmp21/commit/60e0ada5291e771d5649793329d99edd32285e72"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/LFDT-Lockness/cggmp21"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2025-0129.html"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2025-0130.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.dfns.co/article/cggmp21-vulnerabilities-patched-and-explained"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-345", "CWE-347" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-25T20:41:04Z",
    "nvd_published_at" : "2025-11-25T20:16:00Z"
  }
}