PT-2026-169648
CVE-2026-134622
·
Published
2026-12-05
·
Updated
2026-12-06
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
Crypt::OpenPGP versions prior to 1.22
Description
An issue exists where a key with a colliding short key ID can be used instead of the intended key during encryption and verification. The
find keyblock by keyid function matches a key if the trailing bytes of its key ID equal the provided ID, regardless of length. When a full 8-byte key ID has no match, key by id falls back to the last 4 bytes. Additionally, key server lookups truncate the key ID to the last 4 bytes before querying and accept the first returned key without comparing a fingerprint. The encrypt function treats a Recipients entry of 8 hex digits as a 4-byte key ID and encrypts to all keys in the keyring ending in those bytes. When AutoKeyRetrieve is enabled and no local match is found, verify retrieves the signer's key from the key server using only the last 4 bytes. An attacker can exploit this by placing a key with a colliding 32-bit key ID in the keyring or on the key server to intercept messages or forge valid signatures under a chosen user ID.Recommendations
Update Crypt::OpenPGP to version 1.22 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾