CVE-2026-137701: Crypt::OpenPGP versions before 1.22 for Perl report a user ID as the signer without checking its self-certification, so a rewritten user ID names the signer of a genuine signature

Published Dec 5, 2026
·
Updated

Crypt::OpenPGP versions before 1.22 for Perl report a user ID as the signer without checking its self-certification, so a rewritten user ID names the signer of a genuine signature.

A key block's primary user ID is the first user ID packet in the block, whatever it says. A user ID is tied to the key by a certification signature the primary key makes over both, and nothing checks for one. verify returns the primary user ID as its result for a good signature, and sign, encrypt and decrypt attach it to the key as its owner.

An attacker who can change a keyring file or supply a key block for import can rewrite a key's user ID without touching key material, and a genuine signature by that key then verifies with the attacker's text returned as the signer.

Affected Software

1 affected component
cpan/crypt-openpgp<1.22

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Crypt-OpenPGP to a version that resolves this vulnerability.

    Fixed in 1.22

Event History

Dec 5, 2026
CVE Published
via MITRE·11:55 PM
Data Sourced
via MITRE·11:55 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Crypt::OpenPGP before version 1.22 are exposed when they rely on the reported user ID to identify a signature signer or key owner. The risk applies if an attacker can modify a keyring file or provide a key block that the application imports.

2

What does an attacker need to do to exploit it?

The attacker needs the ability to rewrite or supply a key block's user ID packet. They do not need to alter the key material or forge the genuine signature; the library can return the attacker-controlled user ID as the signer for a valid signature.

3

How can I tell whether an application may be affected?

Check whether it uses Crypt::OpenPGP before 1.22 and uses verify, sign, encrypt, or decrypt results to display or trust the key's owner identity. Affected behavior occurs when the primary user ID is accepted without confirming a certification signature tying that ID to the primary key.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203