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.
Advisories

No advisories yet.

Fixes

Solution

Upgrade to Crypt-OpenPGP 1.22 or later.


Workaround

No workaround given by the vendor.

History

Sun, 06 Dec 2026 00:00:00 +0000

Type Values Removed Values Added
Description 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.
Title 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
Weaknesses CWE-347
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-12-05T23:55:02.618Z

Reserved: 2026-11-27T01:10:56.138Z

Link: CVE-2026-137701

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-06T00:17:24.963

Modified: 2026-12-06T00:17:24.963

Link: CVE-2026-137701

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses