CVE-2026-125429

Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify

Published Dec 5, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to Crypt-OpenPGP 1.22 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Dec 5, 2026, 10:46 PM
Reserved
Nov 9, 2026, 11:38 PM
Status
Received
Published
Dec 5, 2026, 11:18 PM
Modified
Dec 5, 2026, 11:18 PM