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.
Published: 2026-12-05
Score: n/a
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to Crypt-OpenPGP 1.22 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Dec 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl crypt::openpgp
Vendors & Products Perl
Perl crypt::openpgp

Sat, 05 Dec 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress
Weaknesses CWE-409
References

Subscriptions

Perl Crypt::openpgp
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-12-05T22:40:50.434Z

Reserved: 2026-10-08T02:10:34.389Z

Link: CVE-2026-107442

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-05T23:18:27.367

Modified: 2026-12-05T23:18:27.367

Link: CVE-2026-107442

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-06T21:11:39Z

Weaknesses