Search Results (10 CVEs found)

CVE Vendors Products Updated CVSS v3.1
CVE-2026-107442 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress. A compressed data packet is inflated in a single Compress::Zlib call with no limit on the output size, and the whole output is held in memory before any packet in it is parsed. Both handle and verify inflate a leading compressed packet before any signature is checked. After decryption, decrypt inflates one too, and with public-key encryption anyone holding the recipient's public key can produce a message that decrypts. A remote attacker who supplies a message to handle, verify or decrypt can exhaust the process's memory with a small packet.
CVE-2026-125429 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify. The signature packet's type is read only to decide whether the data is canonicalised as text and is never checked against the document signature types. The digest covers the supplied data followed by the signature's own trailer, so a user ID certification, subkey binding, direct key or revocation signature verifies over a document consisting of the key and user ID material it covers. An attacker holding any signature a key has issued, such as the self-certification on a published key, can pair it with that document, and verify reports a valid signature by the key.
CVE-2026-134727 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl decrypt messages that carry no modification detection code, so changes an attacker makes to the ciphertext alter the plaintext undetected. Whether the plaintext is checked against a modification detection code is decided by the type of the encrypted data packet in the message. A Symmetrically Encrypted Data packet carries none, and decrypt, and handle which calls it, accept one with no option to require the code. encrypt produces this packet type unless MDC is set. An attacker who can alter a message before it is decrypted can flip chosen bits of the plaintext, as the data is encrypted in CFB mode, and the caller gets the changed plaintext with no error.
CVE-2026-134728 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
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.
CVE-2026-134622 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
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.
CVE-2026-134729 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl accept a signature over text to which trailing whitespace has been added, as verify tries the hash with and without it. For a text signature, verify hashes the data twice, with and without whitespace at the end of each line removed, and accepts the signature if either hash matches. Whether the data is hashed as text follows the mode of the literal data packet, which the signature does not cover, rather than the signature type. A binary signature over data that text canonicalisation leaves unchanged therefore accepts the same addition once the packet is marked as text. An attacker who can alter a signed message can add whitespace at the end of any line, and verify still reports the signature valid.
CVE-2026-134725 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl die on malformed messages in verify and decrypt instead of returning an error. verify and decrypt, and handle which calls them, use packets from the message and from the decrypted content as the expected kind without checking what they are. A signature with no issuer subpacket, a one-pass signature packet with no signature after it, a message or decrypted content with no data packet where one is expected, a session key packet with an unsupported or mismatched algorithm, and a signature that names a key that cannot sign each make Perl die rather than return an error. These are reached before any cryptographic check, or with no more than the recipient's public key. The documented contract is to return undef and set errstr, so a remote attacker who supplies such a message ends a process that calls verify, decrypt or handle without eval.
CVE-2026-134760 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own. verify, and handle which calls it, hash the data carried next to the signature whenever the input has any. Data or Files given with a signature that is not detached are ignored in favour of the data inside the signed message. When the signature block of a clear-signed message holds a whole signed message or a compressed packet, the packets in the block are verified and the displayed text is ignored. Message parsing looks for armour anywhere in the input, including in decompressed data, so armoured text inside a binary packet is parsed and verified in place of the packets around it. An attacker who supplies the signature input and holds any signed message from a key the verifier trusts can have an arbitrary file or arbitrary displayed text reported as signed by that key.
CVE-2026-134869 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified. pgplet --decrypt prints the text decrypt returns, which it does whether or not the signature on it is good. The warning for a signature that could not be verified compares errstr, which ends in a newline, against a bare string, so it never fires. A signature that verifies as bad is reported, but with exit status 0, the same as a good one. pgplet run on the file with no command refuses a message whose signature cannot be verified. An attacker with the recipient's public key and any signed message from the claimed sender can alter the signed text and encrypt it to the recipient, and pgplet --decrypt prints it with nothing to tell it from text that was never signed.
CVE-2026-137701 1 Perl 1 Crypt::openpgp 2026-12-06 N/A
Crypt::OpenPGP versions before 1.22 for Perl report a user ID as the signer without checking its self-certification, so a rewritten user ID names the signer of a genuine signature. A key block's primary user ID is the first user ID packet in the block, whatever it says. A user ID is tied to the key by a certification signature the primary key makes over both, and nothing checks for one. verify returns the primary user ID as its result for a good signature, and sign, encrypt and decrypt attach it to the key as its owner. An attacker who can change a keyring file or supply a key block for import can rewrite a key's user ID without touching key material, and a genuine signature by that key then verifies with the attacker's text returned as the signer.