CVE-2026-134622: Crypt-OpenPGP (Perl module) · Partial String Comparison
Affects Crypt-OpenPGP (Perl module)Source CVE Database V5
Not known to be exploited : upgrade to 1.22 soon.
Data as of 5 Dec 2026, 23:27 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
Upgrade Crypt::OpenPGP to version 1.22 or later, where this partial string comparison vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
Crypt::OpenPGP versions before 1.22 for Perl have a partial string comparison vulnerability in key ID matching. This allows an attacker to substitute a key with a colliding short key ID for the intended key during encryption and signature verification. The vulnerability arises because key lookups and comparisons rely on the last 4 bytes of the key ID rather than the full fingerprint, enabling key substitution attacks.
References
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyRing.pm (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyBlock.pm (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyServer.pm (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm (opens in a new tab)
- github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/baa36d1f8fbc8ce537787c584d3e23f3a09a893d.patch (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes (opens in a new tab)