Crypt::OpenPGP versions before 1.22 for Perl accept a signature over text to which trailing whitespace has been added
Source GCVE Database
Not known to be exploited : upgrade to 1.22 soon.
Data as of 6 Dec 2026, 01:43 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 1.22
Exploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade Crypt-OpenPGP (Perl module) to 1.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Crypt-OpenPGP | Affected
| Fixed in
|
CPANCrypt-OpenPGPpkg:cpan/Crypt-OpenPGPOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should be cautious about trusting signatures verified by affected versions and consider additional validation steps to detect trailing whitespace modifications.
Description
Crypt::OpenPGP versions before 1.22 for Perl accept signatures on text messages even if trailing whitespace is added to lines. The verification process hashes the data twice—once with and once without trailing whitespace removed—and accepts the signature if either hash matches. This behavior allows an attacker who can modify a signed message to add trailing whitespace to any line without invalidating the signature.
References
- nvd.nist.gov/vuln/detail/CVE-2026-134729 (opens in a new tab)
- github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/d7ba121dc26101b7786e06b33fa9b751658e23b5.patch (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes (opens in a new tab)
- rfc-editor.org/rfc/rfc4880 (opens in a new tab)