{"api_version":"1","generated_at":"2026-12-06T01:17:44+00:00","cve":"CVE-2026-134869","urls":{"html":"https://cve.report/CVE-2026-134869","api":"https://cve.report/api/cve/CVE-2026-134869.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134869","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134869"},"summary":{"title":"Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified","description":"Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified.\n\npgplet --decrypt prints the text decrypt returns, which it does whether or not the signature on it is good. The warning for a signature that could not be verified compares errstr, which ends in a newline, against a bare string, so it never fires. A signature that verifies as bad is reported, but with exit status 0, the same as a good one. pgplet run on the file with no command refuses a message whose signature cannot be verified.\n\nAn attacker with the recipient's public key and any signed message from the claimed sender can alter the signed text and encrypt it to the recipient, and pgplet --decrypt prints it with nothing to tell it from text that was never signed.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-12-06 00:17:24","updated_at":"2026-12-06 00:17:24"},"problem_types":["CWE-392","CWE-393","CWE-392 CWE-392 Missing Report of Error Condition","CWE-393 CWE-393 Return of Wrong Status Code"],"metrics":[],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/bin/pgplet","name":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/bin/pgplet","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/2560a40d922679b67ec0131e26b57f418377e6ef.patch","name":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/2560a40d922679b67ec0131e26b57f418377e6ef.patch","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://www.cve.org/CVERecord?id=CVE-2026-134869","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134869","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":[{"source":"CNA","title":"","value":"For deployments that cannot upgrade to 1.22, run pgplet on the file with no command instead of --decrypt, or check the validity decrypt returns in your own code.","time":"","lang":"en"}],"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":["bin/pgplet"],"programRoutines":[{"name":"main::do_decrypt"},{"name":"main::do_wim"}],"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 exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified.\n\npgplet --decrypt prints the text decrypt returns, which it does whether or not the signature on it is good. The warning for a signature that could not be verified compares errstr, which ends in a newline, against a bare string, so it never fires. A signature that verifies as bad is reported, but with exit status 0, the same as a good one. pgplet run on the file with no command refuses a message whose signature cannot be verified.\n\nAn attacker with the recipient's public key and any signed message from the claimed sender can alter the signed text and encrypt it to the recipient, and pgplet --decrypt prints it with nothing to tell it from text that was never signed."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-392","description":"CWE-392 Missing Report of Error Condition","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-393","description":"CWE-393 Return of Wrong Status Code","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-05T23:50:30.655Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/bin/pgplet"},{"tags":["patch"],"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/2560a40d922679b67ec0131e26b57f418377e6ef.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 exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified","workarounds":[{"lang":"en","value":"For deployments that cannot upgrade to 1.22, run pgplet on the file with no command instead of --decrypt, or check the validity decrypt returns in your own code."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-134869","datePublished":"2026-12-05T23:50:30.655Z","dateReserved":"2026-11-22T23:28:27.008Z","dateUpdated":"2026-12-05T23:50:30.655Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-06 00:17:24","lastModifiedDate":"2026-12-06 00:17:24","problem_types":["CWE-392","CWE-393","CWE-392 CWE-392 Missing Report of Error Condition","CWE-393 CWE-393 Return of Wrong Status Code"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134869","Ordinal":"1","Title":"Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decry","CVE":"CVE-2026-134869","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134869","Ordinal":"1","NoteData":"Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decrypt with status 0 and no warning when the signature on a signed and encrypted message cannot be verified.\n\npgplet --decrypt prints the text decrypt returns, which it does whether or not the signature on it is good. The warning for a signature that could not be verified compares errstr, which ends in a newline, against a bare string, so it never fires. A signature that verifies as bad is reported, but with exit status 0, the same as a good one. pgplet run on the file with no command refuses a message whose signature cannot be verified.\n\nAn attacker with the recipient's public key and any signed message from the claimed sender can alter the signed text and encrypt it to the recipient, and pgplet --decrypt prints it with nothing to tell it from text that was never signed.","Type":"Description","Title":"Crypt::OpenPGP versions before 1.22 for Perl exit pgplet --decry"}]}}}