{"api_version":"1","generated_at":"2026-12-06T01:17:45+00:00","cve":"CVE-2026-107442","urls":{"html":"https://cve.report/CVE-2026-107442","api":"https://cve.report/api/cve/CVE-2026-107442.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107442","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107442"},"summary":{"title":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress","description":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress.\n\nA 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.\n\nA remote attacker who supplies a message to handle, verify or decrypt can exhaust the process's memory with a small packet.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-12-05 23:18:27","updated_at":"2026-12-05 23:18:27"},"problem_types":["CWE-409","CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)"],"metrics":[],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes","name":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/355edb6236096834932462a0c70e18efd7b80d86.patch","name":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/355edb6236096834932462a0c70e18efd7b80d86.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/Compressed.pm","name":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/Compressed.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107442","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107442","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Crypt-OpenPGP 1.22 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Crypt::OpenPGP"],"packageName":"Crypt-OpenPGP","packageURL":"pkg:cpan/Crypt-OpenPGP","programFiles":["lib/Crypt/OpenPGP/Compressed.pm","lib/Crypt/OpenPGP.pm"],"programRoutines":[{"name":"Crypt::OpenPGP::Compressed::decompress"},{"name":"Crypt::OpenPGP::handle"},{"name":"Crypt::OpenPGP::verify"},{"name":"Crypt::OpenPGP::decrypt"}],"repo":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP","versions":[{"lessThan":"1.22","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress.\n\nA 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.\n\nA remote attacker who supplies a message to handle, verify or decrypt can exhaust the process's memory with a small packet."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-409","description":"CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-05T22:40:50.434Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/Compressed.pm"},{"tags":["patch"],"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/355edb6236096834932462a0c70e18efd7b80d86.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes"}],"solutions":[{"lang":"en","value":"Upgrade to Crypt-OpenPGP 1.22 or later."}],"source":{"discovery":"UNKNOWN"},"title":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-107442","datePublished":"2026-12-05T22:40:50.434Z","dateReserved":"2026-10-08T02:10:34.389Z","dateUpdated":"2026-12-05T22:40:50.434Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-05 23:18:27","lastModifiedDate":"2026-12-05 23:18:27","problem_types":["CWE-409","CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"107442","Ordinal":"1","Title":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaus","CVE":"CVE-2026-107442","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"107442","Ordinal":"1","NoteData":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaustion via unbounded inflation of compressed data packets in decompress.\n\nA 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.\n\nA remote attacker who supplies a message to handle, verify or decrypt can exhaust the process's memory with a small packet.","Type":"Description","Title":"Crypt::OpenPGP versions before 1.22 for Perl allow memory exhaus"}]}}}