CVE-2026-115841: Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa
A flaw was found in sequoia-openpgp. DSA signature verification does not reject a public key with generator 1 and public value 1 before calling the cryptographic backend. Upstream reports that the Nettle and OpenSSL backends, including the default Nettle build, accept this key. Under that key, a signature can verify for every message. Ordinary DSA keys are not affected. An application is exposed when that degenerate certificate is accepted as authoritative.
Other sources
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.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using sequoia-openpgp with the Nettle or OpenSSL cryptographic backends are exposed, including the default Nettle build. Exposure requires an application to accept the degenerate certificate as authoritative; ordinary DSA keys are not affected.
What must an attacker do to exploit this issue?
An attacker needs a DSA public key whose generator and public value are both 1 to be accepted as an authoritative certificate by the application. With that key, a signature can verify for any message.
Are default builds affected?
Yes. Upstream reports that the default Nettle build accepts the degenerate DSA key.