Crypt::OpenPGP versions before 1.22 for Perl decrypt messages that carry no modification detection code, so changes an attacker makes to the ciphertext alter the plaintext undetected.

Whether the plaintext is checked against a modification detection code is decided by the type of the encrypted data packet in the message. A Symmetrically Encrypted Data packet carries none, and decrypt, and handle which calls it, accept one with no option to require the code. encrypt produces this packet type unless MDC is set.

An attacker who can alter a message before it is decrypted can flip chosen bits of the plaintext, as the data is encrypted in CFB mode, and the caller gets the changed plaintext with no error.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to Crypt-OpenPGP 1.22 or later.


Workaround

No workaround given by the vendor.

History

Sat, 05 Dec 2026 23:00:00 +0000

Type Values Removed Values Added
Description Crypt::OpenPGP versions before 1.22 for Perl decrypt messages that carry no modification detection code, so changes an attacker makes to the ciphertext alter the plaintext undetected. Whether the plaintext is checked against a modification detection code is decided by the type of the encrypted data packet in the message. A Symmetrically Encrypted Data packet carries none, and decrypt, and handle which calls it, accept one with no option to require the code. encrypt produces this packet type unless MDC is set. An attacker who can alter a message before it is decrypted can flip chosen bits of the plaintext, as the data is encrypted in CFB mode, and the caller gets the changed plaintext with no error.
Title Crypt::OpenPGP versions before 1.22 for Perl decrypt messages that carry no modification detection code, so changes an attacker makes to the ciphertext alter the plaintext undetected
Weaknesses CWE-353
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-12-05T22:52:54.720Z

Reserved: 2026-11-22T02:28:27.345Z

Link: CVE-2026-134727

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-05T23:18:32.223

Modified: 2026-12-05T23:18:32.223

Link: CVE-2026-134727

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses