CVE-2025-47934 – Spoofing OpenPGP.js signature verification
OpenPGP.js signature verification could be spoofed, letting an attacker make arbitrary signatures and encrypted emails appear valid. The only requirement was access to a single valid signed message from the target author.
Published on codeanlabs.com
This is a write-up of CVE-2025-47934, a vulnerability in OpenPGP.js found by Codean Labs, which was patched in v5.11.3 and v6.1.1.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a flaw in how OpenPGP.js verifies signatures, allowing a valid signed message to be reused to make other content appear valid.
Impact
Attackers could spoof arbitrary signatures and encrypted emails so they appear valid, undermining PGP's core principle and affecting applications that integrate the library.
What the attacker needed
Access to one valid signed message from the target
The fix
It was fixed by updating OpenPGP.js to version v5.11.3, v6.1.1, or newer.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
OpenPGP.js is a library that checks whether a digital signature really came from the person it claims. A flaw meant an attacker who had one genuine signed message from someone could reuse it to make other messages look signed by that person. That breaks the trust people place in signed email.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.