What's the vulnerability?
Crypt::OpenPGP versions before 1.22 for Perl die on malformed messages in verify and decrypt instead of returning an error. verify and decrypt, and handle which calls them, use packets from the message and from the decrypted content as the expected kind without checking what they are. A signature with no issuer subpacket, a one-pass signature packet with no signature after it, a message or decrypted content with no data packet where one is expected, a session key packet with an unsupported or mismatched algorithm, and a signature that names a key that cannot sign each make Perl die rather than return an error. These are reached before any cryptographic check, or with no more than the recipient's public key. The documented contract is to return undef and set errstr, so a remote attacker who supplies such a message ends a process that calls verify, decrypt or handle without eval.
Business impact & how R4IM helps
This advisory is on our active-exploitation watchlist. Attackers are using it for initial access, privilege escalation or lateral movement in real-world intrusions. R4IM's offensive security and SOC teams already have detections, exploit replicas and remediation playbooks for this issue.
Targeted vulnerability assessment to confirm which of your assets are actually exploitable — not just theoretically affected.
Our pentesters chain this CVE into realistic attack paths so you see business impact, not just a scan finding.
If the affected product is internet-facing, our AppSec team will harden it against this and related OWASP-class issues.
Continuous monitoring with custom detections for this CVE deployed across your endpoints, identity and cloud.
Recommended remediation
- Inventory all assets running the affected vendor and product, including shadow IT and third-party hosted instances.
- Apply the vendor patch or mitigation referenced in the advisories below. Where no patch exists, isolate the asset or restrict network exposure.
- Hunt for indicators of prior compromise — exploitation of this class of bug often predates public disclosure.
- Deploy detections for the exploit primitives (network signature, EDR rule, WAF rule) and re-test after remediation.
Need help executing these steps? Our team typically completes validation and remediation within a single patch cycle. Request remediation support →
Vendor & research references
- https://github.com/perl-Crypt-OpenPGP/Crypt-OpenPGP/commit/5d1d3bc5d1d74f7abb0cbddddf7863b026b51da7.patch · 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.21/source/lib/Crypt/OpenPGP.pm · 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes · 9b29abf9-4ab0-4765-b253-1875cd9b441e
