CVE-2026-134725
Received Received - Intake

Denial of Service in Crypt::OpenPGP Perl Module

Vulnerability report for CVE-2026-134725, 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 die on malformed messages in verify and decrypt instead of returning an error. verify and decrypt, and handle which calls them, use packets from the message and from the decrypted content as the expected kind without checking what they are. A signature with no issuer subpacket, a one-pass signature packet with no signature after it, a message or decrypted content with no data packet where one is expected, a session key packet with an unsupported or mismatched algorithm, and a signature that names a key that cannot sign each make Perl die rather than return an error. These are reached before any cryptographic check, or with no more than the recipient's public key. The documented contract is to return undef and set errstr, so a remote attacker who supplies such a message ends a process that calls verify, decrypt or handle without eval.

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

Showing 2 associated CPEs
Vendor Product Version / Range
timlegge crypt_openpgp 1.21
timlegge crypt_openpgp to 1.22 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-248 An exception is thrown from a function, but it is not caught.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-134725 affects Crypt::OpenPGP versions before 1.22 for Perl. The vulnerability causes the verify() and decrypt() functions to crash with exceptions instead of returning proper error messages when processing malformed input. This happens because the functions do not validate packet types before using them, leading to crashes on missing or invalid subpackets, improperly structured messages, or unsupported encryption algorithms.

Detection Guidance

To detect this vulnerability, check if your system uses Crypt::OpenPGP versions before 1.22. Run: perl -MCrypt::OpenPGP -e 'print $Crypt::OpenPGP::VERSION' to verify the installed version. If it is below 1.22, the system is vulnerable.

Impact Analysis

This vulnerability could allow a remote attacker to crash applications using Crypt::OpenPGP by sending specially crafted malformed messages. If the application does not use error handling (like eval blocks), the crash could lead to denial of service or unexpected termination of the process handling the message.

Mitigation Strategies

Upgrade Crypt::OpenPGP to version 1.22 or later immediately. Apply the patch from the official repository if upgrading is not immediately possible. Review applications using the library to ensure they handle errors properly and do not rely on crashes for malformed input.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134725. 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...