CVE-2026-134729
Low risk· EPSS 14%Exploitation Probability (EPSS)
Low risk14th percentile - higher than 14% of all known CVEs
Summary
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. Text canonicalisation follows the literal data packet mode, which the signature does not cover.
Risk Assessment
An attacker who can alter a signed message can add whitespace at the end of any line, and verify still reports the signature valid. This can lead to modification of signed content without detection.
Recommendation
Update Crypt::OpenPGP to version 1.22 or later. Do not rely solely on verify to detect whitespace modifications in signed texts.
Other vulnerabilities in Crypt::OpenPGP
See all- CVE-2026-137701Low risk· EPSS 14%
Crypt::OpenPGP versions before 1.22 for Perl report a user ID as the signer without checking its self-certification. An attacker can rewrite a key's user ID in a keyring file or supplied key block, and a genuine signature by that key then verifies with the attacker's text returned as the signer.
- CVE-2026-134869Low risk· EPSS 29%
pgplet in Crypt::OpenPGP versions before 1.22 for Perl exits with status 0 and no warning when the signature on a signed and encrypted message cannot be verified. The warning for an unverifiable signature never fires due to a string comparison bug.
- CVE-2026-134760Low risk· EPSS 14%
verify in Crypt::OpenPGP versions before 1.22 for Perl reports a valid signature for data the signer did not sign when the input carries a signed message of its own. Data or files given with a non-detached signature are ignored in favour of the data inside the signed message.
- CVE-2026-134725Low risk· EPSS 46%
verify and decrypt in Crypt::OpenPGP versions before 1.22 for Perl die on malformed messages instead of returning an error. Various malformed packet structures cause the process to die before any cryptographic check.
- CVE-2026-134728Low risk· EPSS 14%
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. An attacker who can modify a keyring file or key server response can add their own subkey to another key block.
- CVE-2026-134727Low risk· EPSS 18%
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. The decrypt and handle functions accept Symmetrically Encrypted Data packets with no option to require the code.
- CVE-2026-134622Elevated risk· EPSS 58%
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.
- CVE-2026-125429Low risk· EPSS 16%
Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify. The signature type is never checked against document signature types, allowing certifications, bindings, or revocations to verify over a document.
- CVE-2026-107442Low risk· EPSS 26%
Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress. The packet is inflated in a single call with no output size limit, and handle, verify, and decrypt inflate before checking signatures.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

