Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify
Summary
| CVE | CVE-2026-125429 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-05 23:18:30 UTC |
| Updated | 2026-12-05 23:18:30 UTC |
| Description | Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify. The signature packet's type is read only to decide whether the data is canonicalised as text and is never checked against the document signature types. The digest covers the supplied data followed by the signature's own trailer, so a user ID certification, subkey binding, direct key or revocation signature verifies over a document consisting of the key and user ID material it covers. An attacker holding any signature a key has issued, such as the self-certification on a published key, can pair it with that document, and verify reports a valid signature by the key. |
Risk And Classification
Problem Types: CWE-347 | CWE-347 CWE-347 Improper Verification of Cryptographic Signature
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/39327341ee14ceaecb976... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| www.rfc-editor.org/rfc/rfc4880 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | www.rfc-editor.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Solutions
CNA: Upgrade to Crypt-OpenPGP 1.22 or later.
There are currently no legacy QID mappings associated with this CVE.