CVE-2026-137701
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/503ab4d46ac8d6934cbdd074bd9daedebff6fdf0.patch
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyBlock.pm
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes
- https://www.rfc-editor.org/rfc/rfc4880#section-5.2.3.3
CWEs
CWE-347
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.