ZeroHour

CVE-2026-42784

mass

Key-flag inference flaw in sequoia-openpgp enables subkey binding forgery

CVSS 3.1
7.4 high
EPSS
Published
()
Modified
AI analysis

sequoia-openpgp, a widely used Rust implementation of OpenPGP, incorrectly infers key capabilities for older certificates that lack a key flags subpacket, creating a discrepancy between the key flags a verifier assumes and what the certificate actually declares. An attacker who controls such a legacy-style certificate can leverage this confusion to bypass the back-signature check, which normally proves that a primary key authorized a signing subkey. As a result, an attacker can bind an arbitrary subkey to their own certificate and produce signatures that verifiers accept as legitimate, compromising the cryptographic integrity of signature verification. Any software or service that uses sequoia-openpgp to verify attacker-supplied OpenPGP certificates and signatures is affected, including downstream tooling such as RPM package signature verification in RPM-based Linux distributions. No public proof-of-concept is known, the issue is not in CISA's KEV catalog, and no in-the-wild exploitation has been reported.

What to do: Track the Sequoia PGP security advisory (CVE-2026-42784) and upgrade sequoia-openpgp to the patched release as soon as one is published; RPM-based distribution users should apply package-manager security updates as vendors ship rebuilt components. Until patched, exercise caution when verifying certificates that lack a key flags subpacket, and treat subkey-binding and back-signature validation results from unpatched sequoia-openpgp versions as untrusted. Audit your dependency tree (cargo) to determine whether sequoia-openpgp is present in verification-critical paths.

Affected
Sequoia PGP sequoia-openpgp (Rust library)
Estimated exposure
masspotentially millions of downstream users (tens of millions of cumulative crates.io downloads; embedded in package-signature verification on RPM-based distros) — sequoia-openpgp is one of the Rust ecosystem's standard OpenPGP crates with tens of millions of cumulative crates.io downloads and is consumed by tooling such as rpm-sequoia used for package signature verification in RPM-based…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in sequoia-openpgp. The library incorrectly infers key flags for older certificates when a key flags subpacket is missing, leading to a discrepancy in how key capabilities are viewed. This key flag confusion allows an attacker to bypass the back-signature check. Consequently, an attacker can illegitimately bind an arbitrary subkey to their own certificate and forge signatures, completely compromising cryptographic integrity.

Weakness
CWE-347
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

In the news

No ingested article mentions this CVE yet.