CVE-2026-134729 — CWE-347
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.
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-134729
CVSS 0/10 · UNKNOWN · 06.12.2026
CWE: CWE-347
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
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. 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 da…
⚡ ATTACK VECTOR
CVSS vector not yet assigned. Review vendor advisory.
🌍 REAL WORLD IMPACT
Potential security boundary bypass or unauthorized action on affected component.
🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📌 Low priority — routine update sufficient.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]