What's the vulnerability?
Crypt::OpenPGP versions before 1.22 for Perl report a valid signature for data the signer did not sign when the input to verify carries a signed message of its own. verify, and handle which calls it, hash the data carried next to the signature whenever the input has any. Data or Files given with a signature that is not detached are ignored in favour of the data inside the signed message. When the signature block of a clear-signed message holds a whole signed message or a compressed packet, the packets in the block are verified and the displayed text is ignored. Message parsing looks for armour anywhere in the input, including in decompressed data, so armoured text inside a binary packet is parsed and verified in place of the packets around it. An attacker who supplies the signature input and holds any signed message from a key the verifier trusts can have an arbitrary file or arbitrary displayed text reported as signed by that key.
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/bfd1d7dc396e7f32d750bc5d09531d981b7a19e6.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.21/source/lib/Crypt/OpenPGP/Message.pm · 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/TIMLEGGE/Crypt-OpenPGP-1.22/changes · 9b29abf9-4ab0-4765-b253-1875cd9b441e
