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.
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.
Published:
2026-12-05
Score:
n/a
EPSS:
< 1% Very Low
KEV:
No
Impact:
n/a
Action:
n/a
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
Vendor Solution
Upgrade to Crypt-OpenPGP 1.22 or later.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Sun, 06 Dec 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Perl
Perl crypt::openpgp |
|
| Vendors & Products |
Perl
Perl crypt::openpgp |
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 |
|
|
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-12-05T23:55:02.618Z
Reserved: 2026-11-27T01:10:56.138Z
Link: CVE-2026-137701
No data.
Status : Received
Published: 2026-12-06T00:17:24.963
Modified: 2026-12-06T00:17:24.963
Link: CVE-2026-137701
No data.
OpenCVE Enrichment
Updated: 2026-12-06T21:11:17Z
Weaknesses
-
CWE-347
Improper Verification of Cryptographic Signature