REDHAT-BUG-2560041: Medium severity cargo/sequoia-openpgp vulnerability

Published Oct 23, 2026
·
Updated

A flaw was found in sequoia-openpgp. DSA signature verification on the Nettle and OpenSSL backends accepts parameters g = 1 and y = 1. For those parameters the DSA verification value is 1 for every digest, so a signature with r = 1 and an invertible s verifies for every message under that key. Sequoia 2.4.2 has no local rejection of these parameters. The maintainer reports that the RustCrypto and Botan backends reject them. Ordinary DSA keys are unaffected. An application is exposed when it treats that degenerate certificate as authoritative, on a Nettle or OpenSSL build. The default crate feature is crypto-nettle. No policy cutoff rejects g = 1 and y = 1.

Affected Software

1 affected component
cargo/sequoia-openpgp=2.4.2

Event History

Oct 23, 2026
Data Sourced
via Red Hat·05:08 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using sequoia-openpgp with the Nettle or OpenSSL cryptographic backend are exposed if an application treats a certificate containing the degenerate DSA parameters g = 1 and y = 1 as authoritative. The default crate feature uses crypto-nettle, so default-feature builds are in scope.

2

What does an attacker need to exploit this flaw?

An attacker needs a degenerate DSA certificate with g = 1 and y = 1 to be accepted as authoritative by the application. They can then provide a signature with r = 1 and an invertible s that verifies for any message digest under that key.

3

Are normal DSA keys affected?

No. Ordinary DSA keys are unaffected; the issue is limited to the degenerate g = 1 and y = 1 parameter values.

4

What can reduce exposure if the affected backend cannot be changed immediately?

Do not treat certificates with DSA parameters g = 1 or y = 1 as authoritative. The available information states that there is no policy cutoff rejecting these values, so applications may need to enforce that rejection themselves.

5

Do all supported cryptographic backends accept these parameters?

No. The RustCrypto and Botan backends reportedly reject the degenerate parameters. The affected behavior is reported for the Nettle and OpenSSL backends.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203