Description
Versions of openpgp prior to 4.2.0 are vulnerable to Message Signature Bypass. The package fails to verify that a message signature is of type text. This allows an attacker to to construct a message with a signature type that only verifies subpackets without additional input (such as standalone or timestamp).
Recommendation
Update the openpgp package to the latest compatible version. Followings are version details:
- Affected version(s): <= 4.1.2
- Patched version(s): 4.2.0
References
Could your website be exposed too?
SmartScanner can check your website for Message Signature Bypass in openpgp and gives you actionable findings to investigate.
Start a free scanRelated Issues
- OpenPGP.js's message signature verification can be spoofed - CVE-2025-47934
- Cleartext Signed Message Signature Spoofing in openpgp - CVE-2023-41037
- jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass - CVE-2026-4602
- Validation bypass is possible in Json Pattern Validator - CVE-2019-19507


