pgplet --decrypt prints the text decrypt returns, which it does whether or not the signature on it is good. The warning for a signature that could not be verified compares errstr, which ends in a newline, against a bare string, so it never fires. A signature that verifies as bad is reported, but with exit status 0, the same as a good one. pgplet run on the file with no command refuses a message whose signature cannot be verified.
An attacker with the recipient's public key and any signed message from the claimed sender can alter the signed text and encrypt it to the recipient, and pgplet --decrypt prints it with nothing to tell it from text that was never signed.
Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
Upgrade to Crypt-OpenPGP 1.22 or later.
Vendor Workaround
For deployments that cannot upgrade to 1.22, run pgplet on the file with no command instead of --decrypt, or check the validity decrypt returns in your own code.
Tracking
Sign in to view the affected projects.
No advisories yet.
Sun, 06 Dec 2026 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified. pgplet --decrypt prints the text decrypt returns, which it does whether or not the signature on it is good. The warning for a signature that could not be verified compares errstr, which ends in a newline, against a bare string, so it never fires. A signature that verifies as bad is reported, but with exit status 0, the same as a good one. pgplet run on the file with no command refuses a message whose signature cannot be verified. An attacker with the recipient's public key and any signed message from the claimed sender can alter the signed text and encrypt it to the recipient, and pgplet --decrypt prints it with nothing to tell it from text that was never signed. | |
| Title | Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified | |
| Weaknesses | CWE-392 CWE-393 |
|
| References |
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-12-05T23:50:30.655Z
Reserved: 2026-11-22T23:28:27.008Z
Link: CVE-2026-134869
No data.
Status : Received
Published: 2026-12-06T00:17:24.853
Modified: 2026-12-06T00:17:24.853
Link: CVE-2026-134869
No data.
OpenCVE Enrichment
No data.