CVE-2026-125429
Received Received - Intake

Signature Forgery in Crypt::OpenPGP Perl Module

Vulnerability report for CVE-2026-125429, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: CPANSec

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-06
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
crypt openpgp to 1.22 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-347 The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Crypt::OpenPGP versions before 1.22 for Perl incorrectly verify document signatures. The library fails to check if the signature type matches a document signature type, allowing any signature type to validate a document. This means an attacker can use a valid signature from a key to falsely verify a different document.

Detection Guidance

This vulnerability affects Perl's Crypt::OpenPGP library before version 1.22. To detect it, check the installed version of Crypt::OpenPGP using package managers like cpan or cpanm. If the version is below 1.22, the system is vulnerable.

Impact Analysis

This vulnerability could allow attackers to forge document signatures, making it appear that a document was signed by a legitimate key holder when it was not. This could lead to unauthorized access, data tampering, or misrepresentation of document authenticity.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards as it pertains to signature verification in Crypt::OpenPGP. No evidence suggests this issue impacts data protection or privacy requirements.

Mitigation Strategies

Upgrade Crypt::OpenPGP to version 1.22 or later to address the signature verification flaw.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125429. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...