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
·
Updated

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.

Affected Software

1 affected component
cpan/Crypt::OpenPGP<1.22

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Crypt::OpenPGP to a version that resolves this vulnerability.

    Fixed in 1.22

Event History

Dec 5, 2026
CVE Published
via MITRE·10:46 PM
Data Sourced
via MITRE·10:46 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·11:18 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Crypt::OpenPGP for Perl before version 1.22 are affected when they rely on verify to establish that supplied document data was signed by a key.

2

What does an attacker need to exploit this?

The attacker needs a signature previously issued by the target key, such as a self-certification on a published key, and the key and user ID material covered by that signature. They can pair those materials so verify reports a valid signature for a document even though the signature is not a document signature.

3

How can I determine whether an application is vulnerable?

Check the installed Crypt::OpenPGP version and upgrade if it is earlier than 1.22. Applications are at risk if they accept verify success as proof of a document signature without independently validating the signature packet type.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203