RUSTSEC-2025-0127

Source
https://rustsec.org/advisories/RUSTSEC-2025-0127
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0127.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2025-0127
Aliases
Published
2025-11-24T12:00:00Z
Modified
2025-11-26T06:15:23.517805Z
Summary
CGGMP21 presignatures can be used in the way that significantly reduces security
Details

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 <code>Presignature::set_derivation_path</code>, 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 <code>Presignature::issue_partial_signature</code> 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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / cggmp21

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "arch": [],
        "functions": []
    }
}

Database specific

cvss

null

categories

[
    "crypto-failure"
]

informational

null