Crypt::OpenPGP versions before 1.22 for Perl use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner
Summary
| CVE | CVE-2026-134728 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-05 23:18:32 UTC |
| Updated | 2026-12-05 23:18:32 UTC |
| Description | Crypt::OpenPGP versions before 1.22 for Perl use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner. A key block takes every subkey packet that follows its primary key as one of its keys. A subkey is tied to the primary key by a binding signature the primary key makes over both, and nothing checks for one. key_by_id, signing_key and encrypting_key return such a subkey, and find_keyblock_by_keyid matches a key block through it. An attacker who can change a keyring file or a key server's response can add a subkey of their own to another key block. A message signed with it then verifies as signed by that key's owner, and a message encrypted to the owner can go to the attacker's subkey when the primary key cannot encrypt. |
Risk And Classification
Problem Types: CWE-347 | CWE-347 CWE-347 Improper Verification of Cryptographic Signature
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.rfc-editor.org/rfc/rfc4880 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | www.rfc-editor.org | |
| metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/908d64e9ee4173bde391e... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Solutions
CNA: Upgrade to Crypt-OpenPGP 1.22 or later.
There are currently no legacy QID mappings associated with this CVE.