CVE-2026-134869
Received Received - Intake

Crypt::OpenPGP Signature Verification Bypass via Malicious Signed Message

Vulnerability report for CVE-2026-134869, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-06

Last updated on: 2026-12-06

Assigner: CPANSec

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-06
Last Modified
2026-12-06
Generated
2026-12-06
AI Q&A
2026-12-06
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-392 The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.
CWE-393 A function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Crypt::OpenPGP Perl module's pgplet tool before version 1.22. When decrypting a signed and encrypted message with an invalid or unverifiable signature, pgplet would still output the decrypted text without warning and exit with a success status (0). This means tampered messages could be treated as valid, potentially misleading users or automated systems that rely on exit status to verify message integrity.

Detection Guidance

To detect this vulnerability, check if your system uses Crypt::OpenPGP versions before 1.22. Run pgplet --decrypt on a signed and encrypted message and verify if it exits with status 0 even when the signature is invalid. Compare the output and exit status with expected behavior after applying the patch.

Impact Analysis

An attacker could alter a signed message, encrypt it to the recipient, and pgplet would decrypt and display it as valid even though the signature was bad. This could lead to unauthorized actions if systems trust the message based on pgplet's exit status. Users might unknowingly process tampered data as legitimate.

Mitigation Strategies

Upgrade Crypt::OpenPGP to version 1.22 or later. Review scripts using pgplet --decrypt to ensure they handle exit status and warnings correctly. Test decryption of signed messages to confirm proper signature verification and failure reporting.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134869. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...