{"api_version":"1","generated_at":"2026-12-06T01:17:47+00:00","cve":"CVE-2026-134760","urls":{"html":"https://cve.report/CVE-2026-134760","api":"https://cve.report/api/cve/CVE-2026-134760.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134760","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134760"},"summary":{"title":"Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own","description":"Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own.\n\nverify, and handle which calls it, hash the data carried next to the signature whenever the input has any. Data or Files given with a signature that is not detached are ignored in favour of the data inside the signed message. When the signature block of a clear-signed message holds a whole signed message or a compressed packet, the packets in the block are verified and the displayed text is ignored. Message parsing looks for armour anywhere in the input, including in decompressed data, so armoured text inside a binary packet is parsed and verified in place of the packets around it.\n\nAn attacker who supplies the signature input and holds any signed message from a key the verifier trusts can have an arbitrary file or arbitrary displayed text reported as signed by that key.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-12-06 00:17:24","updated_at":"2026-12-06 00:17:24"},"problem_types":["CWE-347","CWE-347 CWE-347 Improper Verification of Cryptographic Signature"],"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/bfd1d7dc396e7f32d750bc5d09531d981b7a19e6.patch","name":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/bfd1d7dc396e7f32d750bc5d09531d981b7a19e6.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/Message.pm","name":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/Message.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134760","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134760","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, pass Data or Files only with a signature known to be detached, and do not rely on verify for clear-signed input from an untrusted source.","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":["lib/Crypt/OpenPGP.pm","lib/Crypt/OpenPGP/Message.pm"],"programRoutines":[{"name":"Crypt::OpenPGP::verify"},{"name":"Crypt::OpenPGP::handle"},{"name":"Crypt::OpenPGP::Message::read"}],"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 report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own.\n\nverify, and handle which calls it, hash the data carried next to the signature whenever the input has any. Data or Files given with a signature that is not detached are ignored in favour of the data inside the signed message. When the signature block of a clear-signed message holds a whole signed message or a compressed packet, the packets in the block are verified and the displayed text is ignored. Message parsing looks for armour anywhere in the input, including in decompressed data, so armoured text inside a binary packet is parsed and verified in place of the packets around it.\n\nAn attacker who supplies the signature input and holds any signed message from a key the verifier trusts can have an arbitrary file or arbitrary displayed text reported as signed by that key."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347 Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-05T23:28:50.488Z","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":["technical-description"],"url":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/Message.pm"},{"tags":["patch"],"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/bfd1d7dc396e7f32d750bc5d09531d981b7a19e6.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 report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own","workarounds":[{"lang":"en","value":"For deployments that cannot upgrade to 1.22, pass Data or Files only with a signature known to be detached, and do not rely on verify for clear-signed input from an untrusted source."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-134760","datePublished":"2026-12-05T23:28:50.488Z","dateReserved":"2026-11-22T14:22:43.941Z","dateUpdated":"2026-12-05T23:28:50.488Z","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-347","CWE-347 CWE-347 Improper Verification of Cryptographic Signature"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134760","Ordinal":"1","Title":"Crypt::OpenPGP versions before 1.22 for Perl report a valid sign","CVE":"CVE-2026-134760","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134760","Ordinal":"1","NoteData":"Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own.\n\nverify, and handle which calls it, hash the data carried next to the signature whenever the input has any. Data or Files given with a signature that is not detached are ignored in favour of the data inside the signed message. When the signature block of a clear-signed message holds a whole signed message or a compressed packet, the packets in the block are verified and the displayed text is ignored. Message parsing looks for armour anywhere in the input, including in decompressed data, so armoured text inside a binary packet is parsed and verified in place of the packets around it.\n\nAn attacker who supplies the signature input and holds any signed message from a key the verifier trusts can have an arbitrary file or arbitrary displayed text reported as signed by that key.","Type":"Description","Title":"Crypt::OpenPGP versions before 1.22 for Perl report a valid sign"}]}}}