Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-66017

CGGMP21 presignatures can be used in the way that significantly reduces security
Back to all
CVE

CVE-2025-66017

CGGMP21 presignatures can be used in the way that significantly reduces security

This attack is against presignatures used in very specific context:

  • Presignatures + HD wallets derivation: security level reduces to 85 bits \

  Previously you could generate a presignature, and then choose a HD derivation path while issuing a partial signature via Presignature::setderivationpath, 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, you could use Presignature::issuepartialsignature with hashed message without ever providing original mesage. In new API, this method only accepts digests for which original message has been observed.

Patches

cggmp24 v0.7.0-alpha.2 release contains API changes that make it impossible to use presignatures in contexts in which it reduces security. Follow the migration guidelines to upgrade.

Workarounds

You can continue using un-patched versions of library as long as you don't use presignatures in said scenarios where it weakens system security. To be sure, migrate to patched version that excludes presignatures from being used in such scenarios.

References

Read our blog post to learn more.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.2
-
4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://crates.io/crates/cggmp24, https://rustsec.org/advisories/RUSTSEC-2025-0128.html, https://www.dfns.co/article/cggmp21-vulnerabilities-patched-and-explained

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0.00025%
EPSS Percentile
0.06338%
Introduced Version
0.0.0-0
Fix Available
0.7.0-alpha.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading