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.
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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
Upgrade to Crypt-OpenPGP 1.22 or later.
Workaround
No workaround given by the vendor.
References
History
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 |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-12-05T22:40:50.434Z
Reserved: 2026-10-08T02:10:34.389Z
Link: CVE-2026-107442
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses