CVE-2026-107442
Received Received - Intake

Memory Exhaustion in Crypt::OpenPGP Perl Module

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

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: CPANSec

Description

Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress. A compressed data packet is inflated in a single Compress::Zlib call with no limit on the output size, and the whole output is held in memory before any packet in it is parsed. Both handle and verify inflate a leading compressed packet before any signature is checked. After decryption, decrypt inflates one too, and with public-key encryption anyone holding the recipient's public key can produce a message that decrypts. A remote attacker who supplies a message to handle, verify or decrypt can exhaust the process's memory with a small packet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
crypt openpgp to 1.22 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-409 The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Crypt::OpenPGP versions before 1.22 for Perl have a memory exhaustion vulnerability due to unbounded inflation of compressed data packets during decompression. The issue occurs because compressed data is inflated without size limits, consuming excessive memory before parsing. This affects handle, verify, and decrypt functions, allowing attackers to crash processes with small malicious packets.

Detection Guidance

This vulnerability involves memory exhaustion due to unbounded inflation of compressed data packets in Crypt::OpenPGP. To detect it, monitor memory usage during OpenPGP operations and inspect Perl applications using Crypt::OpenPGP versions before 1.22. Check for processes consuming excessive memory unexpectedly.

Impact Analysis

This vulnerability can cause denial-of-service by exhausting system memory, leading to application crashes or unresponsive services. Attackers can remotely trigger memory exhaustion with minimal effort, disrupting operations for users of affected Perl applications using Crypt::OpenPGP.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards as it is a memory exhaustion issue in a Perl module. However, if exploited, it could lead to denial-of-service conditions in systems processing OpenPGP data, potentially impacting availability requirements under these regulations.

Mitigation Strategies

Upgrade Crypt::OpenPGP to version 1.22 or later to address the memory exhaustion issue in compressed data packet handling.

Chat Assistant

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