Skip to main content
Menu
CVEs

Crypt-OpenPGP message interception via key ID collision

CVE-2026-134622Published December 5, 2026, updated

Exploited
No known exploitation
Fix
Fixed in 1.22
Who is exposed
Not reported

Summary

Crypt::OpenPGP for Perl lets a key with a colliding short key ID stand in for the intended key during encryption and signature verification. An attacker who places a key with a matching 32-bit key ID in the keyring or on the key server in use can receive copies of messages encrypted to that ID and have signatures made with their key reported as valid under a user ID of their choosing.

Written by a model

Original description

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.

find_keyblock_by_keyid matches a key when the trailing bytes of its key ID equal the ID given, however short. key_by_id falls back to the last 4 bytes when the full 8-byte key ID has no match. The key server lookup cuts the key ID to its last 4 bytes before querying and takes the first key returned. No lookup compares a fingerprint.

encrypt treats a Recipients entry of 8 hex digits as a 4-byte key ID and encrypts to every key in the keyring whose ID ends in those bytes. verify fetches the signer's key from the key server by its last 4 bytes when AutoKeyRetrieve is set and the keyring has no match.

An attacker who places a key with a colliding 32-bit key ID in the keyring or on the key server in use gets a copy of each message encrypted to the short ID, and has signatures made with that key reported valid under a user ID of their choosing.

What to do

Upgrade to a fixed version: 1.22.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-134622 (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), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-134622 (entry last updated 2026-12-05):
Affected:
- Crypt-OpenPGP: fixed in 1.22
Fixed versions: 1.22.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-134622 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-134622 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/baa36d1f8fbc8ce537787c584d3e23f3a09a893d.patch
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyRing.pm
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyBlock.pm
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyServer.pm
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-134622
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-134622"}.

Affected versions

cve.now Index

0Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity?/10Unknown. No CVSS score or vendor rating
  • No patch0/5No signal

What would change the score

  • Would score about 55 if added to CISA KEV
  • Would score about 50 if CISA's SSVC rates exploitation active
  • Would score about 22 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 8

Questions about CVE-2026-134622

Is CVE-2026-134622 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

Which versions are affected by CVE-2026-134622?

Crypt-OpenPGP: before 1.22.

Source: cve.now feed data

How do I fix CVE-2026-134622?

Upgrade to a fixed version: 1.22.

Source: cve.now feed data

No corrections so far. Something wrong on this page? Report an error.