CVE-2026-134760: Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own

Published Dec 5, 2026
·
Updated

Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own.

verify, and handle which calls it, hash the data carried next to the signature whenever the input has any. Data or Files given with a signature that is not detached are ignored in favour of the data inside the signed message. When the signature block of a clear-signed message holds a whole signed message or a compressed packet, the packets in the block are verified and the displayed text is ignored. Message parsing looks for armour anywhere in the input, including in decompressed data, so armoured text inside a binary packet is parsed and verified in place of the packets around it.

An attacker who supplies the signature input and holds any signed message from a key the verifier trusts can have an arbitrary file or arbitrary displayed text reported as signed by that key.

Affected Software

1 affected component
cpan/Crypt::OpenPGP<1.22

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.22

Event History

Dec 5, 2026
CVE Published
via MITRE·11:28 PM
Data Sourced
via MITRE·11:28 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications using Crypt::OpenPGP before 1.22 are exposed when they verify signature input supplied by an attacker or otherwise untrusted source. The attacker must possess any signed message made by a key that the application trusts.

2

What does an attacker need to provide to obtain a false valid-signature result?

The attacker needs to supply the signature input and include a signed message from a trusted key. They can then cause arbitrary file content or displayed text to be reported as signed by that key.

3

Are detached signatures affected in the same way?

The described behavior applies when a signature is not detached: data or files provided alongside such a signature are ignored in favor of data within the signed message. The provided information does not identify detached signatures as affected by this specific behavior.

4

How can I determine whether my deployment is affected?

Check whether the application uses Crypt::OpenPGP before version 1.22 and calls verify or handle on untrusted signature input. It is particularly affected if it displays or acts on externally supplied text or files based on a successful verification result.

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