lfdt-lockness/cggmp21 · Security
cggmp21 has a missing check in the ZK proof used in CGGMP21
- GHSA ID
- GHSA-m95p-425x-x889
- CVE ID
- CVE-2025-66016
- Severity
- critical
- Published
- Updated
- CVSS v4
- 9.3 · 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
Description
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.3is a patch release that contains a fix that introduces this specific missing check- However, cggmp21 recommends upgrading to
cggmp24 v0.7.0-alpha.2which 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.
CWEs
- CWE-345 · Insufficient Verification of Data Authenticity
- CWE-347 · Improper Verification of Cryptographic Signature
References
- https://github.com/LFDT-Lockness/cggmp21/security/advisories/GHSA-m95p-425x-x889 ↗
- https://github.com/LFDT-Lockness/cggmp21/commit/60e0ada5291e771d5649793329d99edd32285e72 ↗
- https://rustsec.org/advisories/RUSTSEC-2025-0129.html ↗
- https://rustsec.org/advisories/RUSTSEC-2025-0130.html ↗
- https://www.dfns.co/article/cggmp21-vulnerabilities-patched-and-explained ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-66016 ↗
- https://github.com/advisories/GHSA-m95p-425x-x889 ↗