Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. cggmp24
  4. ›
  5. CVE-2025-66017

CVE-2025-66017: cggmp24 and cggmp21 are vulnerable to signature forgery through altered presignatures

November 25, 2025 (updated November 27, 2025)

This attack is against presignatures used in very specific context:

  • Presignatures + HD wallets derivation: security level reduces to 85 bits
    Previously users could generate a presignature, and then choose a HD derivation path while issuing a partial signature via Presignature::set_derivation_path, which is malleable to attack that reduces target security level. To mitigate, this method has been removed from API.
  • Presignatures + “raw signing” (when signer signs a hash without knowing an original message): results into signature forgery attack
    Previously, users were able to configure Presignature::issue_partial_signature with hashed message without ever providing original mesage. In new API, this method only accepts digests for which original message has been observed.

References

  • github.com/LFDT-Lockness/cggmp21
  • github.com/LFDT-Lockness/cggmp21/commit/9d98157e151596573cb071da59d27a4e0ac9b8dc
  • github.com/LFDT-Lockness/cggmp21/security/advisories/GHSA-8frv-q972-9rq5
  • github.com/advisories/GHSA-8frv-q972-9rq5
  • nvd.nist.gov/vuln/detail/CVE-2025-66017
  • rustsec.org/advisories/RUSTSEC-2025-0127.html
  • rustsec.org/advisories/RUSTSEC-2025-0128.html
  • www.dfns.co/article/cggmp21-vulnerabilities-patched-and-explained

Code Behaviors & Features

Detect and mitigate CVE-2025-66017 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.7.0-alpha.2

Fixed versions

  • 0.7.0-alpha.2

Solution

Upgrade to version 0.7.0-alpha.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

cargo/cggmp24/CVE-2025-66017.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.