{"api_version":"1","generated_at":"2026-12-06T01:17:46+00:00","cve":"CVE-2026-134728","urls":{"html":"https://cve.report/CVE-2026-134728","api":"https://cve.report/api/cve/CVE-2026-134728.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134728","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134728"},"summary":{"title":"Crypt::OpenPGP versions before 1.22 for Perl use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner","description":"Crypt::OpenPGP versions before 1.22 for Perl use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner.\n\nA key block takes every subkey packet that follows its primary key as one of its keys. A subkey is tied to the primary key by a binding signature the primary key makes over both, and nothing checks for one. key_by_id, signing_key and encrypting_key return such a subkey, and find_keyblock_by_keyid matches a key block through it.\n\nAn attacker who can change a keyring file or a key server's response can add a subkey of their own to another key block. A message signed with it then verifies as signed by that key's owner, and a message encrypted to the owner can go to the attacker's subkey when the primary key cannot encrypt.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-12-05 23:18:32","updated_at":"2026-12-05 23:18:32"},"problem_types":["CWE-347","CWE-347 CWE-347 Improper Verification of Cryptographic Signature"],"metrics":[],"references":[{"url":"https://www.rfc-editor.org/rfc/rfc4880#section-11.1","name":"https://www.rfc-editor.org/rfc/rfc4880#section-11.1","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://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyBlock.pm","name":"https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP/KeyBlock.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/908d64e9ee4173bde391eace78d5a86fbd275091.patch","name":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/908d64e9ee4173bde391eace78d5a86fbd275091.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134728","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134728","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/KeyBlock.pm","lib/Crypt/OpenPGP/KeyRing.pm"],"programRoutines":[{"name":"Crypt::OpenPGP::KeyBlock::key_by_id"},{"name":"Crypt::OpenPGP::KeyBlock::signing_key"},{"name":"Crypt::OpenPGP::KeyBlock::encrypting_key"},{"name":"Crypt::OpenPGP::KeyRing::find_keyblock_by_keyid"}],"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 use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner.\n\nA key block takes every subkey packet that follows its primary key as one of its keys. A subkey is tied to the primary key by a binding signature the primary key makes over both, and nothing checks for one. key_by_id, signing_key and encrypting_key return such a subkey, and find_keyblock_by_keyid matches a key block through it.\n\nAn attacker who can change a keyring file or a key server's response can add a subkey of their own to another key block. A message signed with it then verifies as signed by that key's owner, and a message encrypted to the owner can go to the attacker's subkey when the primary key cannot encrypt."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347 Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-05T23:05:32.438Z","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/KeyBlock.pm"},{"tags":["technical-description"],"url":"https://www.rfc-editor.org/rfc/rfc4880#section-11.1"},{"tags":["patch"],"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/908d64e9ee4173bde391eace78d5a86fbd275091.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 use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-134728","datePublished":"2026-12-05T23:05:32.438Z","dateReserved":"2026-11-22T03:05:44.809Z","dateUpdated":"2026-12-05T23:05:32.438Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-05 23:18:32","lastModifiedDate":"2026-12-05 23:18:32","problem_types":["CWE-347","CWE-347 CWE-347 Improper Verification of Cryptographic Signature"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134728","Ordinal":"1","Title":"Crypt::OpenPGP versions before 1.22 for Perl use a subkey withou","CVE":"CVE-2026-134728","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134728","Ordinal":"1","NoteData":"Crypt::OpenPGP versions before 1.22 for Perl use a subkey without checking its binding signature, so a signature by a subkey added to a key block verifies as the key's owner.\n\nA key block takes every subkey packet that follows its primary key as one of its keys. A subkey is tied to the primary key by a binding signature the primary key makes over both, and nothing checks for one. key_by_id, signing_key and encrypting_key return such a subkey, and find_keyblock_by_keyid matches a key block through it.\n\nAn attacker who can change a keyring file or a key server's response can add a subkey of their own to another key block. A message signed with it then verifies as signed by that key's owner, and a message encrypted to the owner can go to the attacker's subkey when the primary key cannot encrypt.","Type":"Description","Title":"Crypt::OpenPGP versions before 1.22 for Perl use a subkey withou"}]}}}