CVE Catalog

CVE-2026-134729

Low risk· EPSS 14%
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

14th 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
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