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.
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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
Upgrade to Crypt-OpenPGP 1.22 or later.
Workaround
No workaround given by the vendor.
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 |
Sat, 05 Dec 2026 23:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify | |
| Weaknesses | CWE-347 | |
| References |
|
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-12-05T22:46:08.309Z
Reserved: 2026-11-09T23:38:45.828Z
Link: CVE-2026-125429
No data.
Status : Received
Published: 2026-12-05T23:18:30.630
Modified: 2026-12-05T23:18:30.630
Link: CVE-2026-125429
No data.
OpenCVE Enrichment
Updated: 2026-12-06T21:11:36Z
Weaknesses