CVE Catalog

CVE-2026-134622

Elevated risk· EPSS 58%
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.81%

58th percentile - higher than 58% of all known CVEs

Summary

Crypt::OpenPGP versions before 1.22 for Perl let a key with a colliding short key ID stand in for the intended key in encrypt and verify. Key lookup matches only trailing bytes of the key ID and never compares a fingerprint.

Risk Assessment

An attacker could obtain copies of encrypted messages or have signatures made with their key reported valid under a user ID of their choosing.

Recommendation

Update Crypt::OpenPGP to version 1.22 or later and avoid relying on short key IDs; verify key fingerprints.

Other vulnerabilities in Crypt::OpenPGP

See all
Original NVD description (English source)

Crypt::OpenPGP versions before 1.22 for Perl let a key with a colliding short key ID stand in for the intended key in encrypt and verify. find_keyblock_by_keyid matches a key when the trailing bytes of its key ID equal the ID given, however short. key_by_id falls back to the last 4 bytes when the full 8-byte key ID has no match. The key server lookup cuts the key ID to its last 4 bytes before querying and takes the first key returned. No lookup compares a fingerprint. encrypt treats a Recipients entry of 8 hex digits as a 4-byte key ID and encrypts to every key in the keyring whose ID ends in those bytes. verify fetches the signer's key from the key server by its last 4 bytes when AutoKeyRetrieve is set and the keyring has no match. An attacker who places a key with a colliding 32-bit key ID in the keyring or on the key server in use gets a copy of each message encrypted to the short ID, and has signatures made with that key reported valid under a user ID of their choosing.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS