{"api_version":"1","generated_at":"2026-12-06T01:17:47+00:00","cve":"CVE-2026-134725","urls":{"html":"https://cve.report/CVE-2026-134725","api":"https://cve.report/api/cve/CVE-2026-134725.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134725","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134725"},"summary":{"title":"Crypt::OpenPGP versions before 1.22 for Perl die on malformed messages in verify and decrypt instead of returning an error","description":"Crypt::OpenPGP versions before 1.22 for Perl die on malformed messages in verify and decrypt instead of returning an error.\n\nverify 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.\n\nThe 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-12-06 00:17:23","updated_at":"2026-12-06 00:17:23"},"problem_types":["CWE-248","CWE-248 CWE-248 Uncaught Exception"],"metrics":[],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm","name":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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/5d1d3bc5d1d74f7abb0cbddddf7863b026b51da7.patch","name":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/5d1d3bc5d1d74f7abb0cbddddf7863b026b51da7.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134725","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134725","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.pm","lib/Crypt/OpenPGP/Signature.pm","lib/Crypt/OpenPGP/SessionKey.pm","lib/Crypt/OpenPGP/SKSessionKey.pm","lib/Crypt/OpenPGP/S2k.pm","lib/Crypt/OpenPGP/Ciphertext.pm"],"programRoutines":[{"name":"Crypt::OpenPGP::verify"},{"name":"Crypt::OpenPGP::decrypt"},{"name":"Crypt::OpenPGP::handle"},{"name":"Crypt::OpenPGP::Signature::key_id"}],"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 die on malformed messages in verify and decrypt instead of returning an error.\n\nverify 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.\n\nThe 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","description":"CWE-248 Uncaught Exception","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-05T23:23:39.536Z","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.pm"},{"tags":["patch"],"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/5d1d3bc5d1d74f7abb0cbddddf7863b026b51da7.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 die on malformed messages in verify and decrypt instead of returning an error","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-134725","datePublished":"2026-12-05T23:23:39.536Z","dateReserved":"2026-11-22T02:17:26.920Z","dateUpdated":"2026-12-05T23:23:39.536Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-06 00:17:23","lastModifiedDate":"2026-12-06 00:17:23","problem_types":["CWE-248","CWE-248 CWE-248 Uncaught Exception"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134725","Ordinal":"1","Title":"Crypt::OpenPGP versions before 1.22 for Perl die on malformed me","CVE":"CVE-2026-134725","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134725","Ordinal":"1","NoteData":"Crypt::OpenPGP versions before 1.22 for Perl die on malformed messages in verify and decrypt instead of returning an error.\n\nverify 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.\n\nThe 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.","Type":"Description","Title":"Crypt::OpenPGP versions before 1.22 for Perl die on malformed me"}]}}}