CVE-2026-134728

NONE
Updated Dec 06, 2026
Crypt
Parameter Value
Affected Versions before 1.22
Type CWE-347 (Improper Verification of Cryptographic Signature)
Vendor Crypt
Public PoC No

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.