Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify.
CVE-2026-125429
Crypt::OpenPGP versions before 1.22 for Perl accept any signature type as a document signature in verify. The signature packet's type is read only to decide whether the data is canonicalised as text and is never checked against the document signature types. The digest covers the supplied data followed by the signature's own trailer, so a user ID certification, subkey binding, direct key or revocation signature verifies over a document consisting of the key and user ID material it covers. An attacker holding any signature a key has issued, such as the self-certification on a published key, can pair it with that document, and verify reports a valid signature by the key.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 5 December 2026
- Last updated
- 5 December 2026
- Weakness
- CWE-347
- Assigner
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
At the source
References
- https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/39327341ee14ceaecb976bd2533d4c908d5b6986.patch
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm#L368
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes
- https://www.rfc-editor.org/rfc/rfc4880#section-5.2.1
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-125429