CVE-2025-66016: Cggmp21 Cggmp21 Has A Missing Check Vulnerability
CRITICALCVE-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
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.
Upgrade cggmp21 to 0.6.3
Upgrade cggmp24 to 0.7.0-alpha.2
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
CVE-2025-66016 Affected Cggmp21 Versions
2 component(s)| 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?
Which Cggmp21 versions are affected?
What version fixes CVE-2025-66016?
Is cggmp21 affected?
Is cggmp24 affected?
What CWE is associated with CVE-2025-66016?
How can I check crates.io dependencies for CVE-2025-66016?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}