Home / openpgpjs / openpgpjs / CVE-2025-47934
CVE-2025-47934: is it exploited, and which versions of openpgpjs are affected and fixed?
CVE-2025-47934 is a cryptographic signature not verified vulnerability in openpgpjs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: openpgp from 5.0.1 before 5.11.3 and openpgp from 6.0.0-alpha.0 before 6.1.1 (GitHub advisory GHSA-8qff-qr5q-5pr8). Fixed in 5.11.3 and 6.1.1 (GitHub advisory GHSA-8qff-qr5q-5pr8). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-47934?
OpenPGP.js's message signature verification can be spoofed
OpenPGP.js is a JavaScript implementation of the OpenPGP protocol. Startinf in version 5.0.1 and prior to versions 5.11.3 and 6.1.1, a maliciously modified message can be passed to either `openpgp.verify` or `openpgp.decrypt`, causing these functions to return a valid signature verification result while returning data that was not actually signed. This flaw allows signature verifications of inline (non-detached) signed messages (using `openpgp.verify`) and signed-and-encrypted messages (using `openpgp.decrypt` with `verificationKeys`) to be spoofed, since both functions return extracted data that may not match the data that was originally signed. Detached signature verifications are not affected, as no signed data is returned in that case. In order to spoof a message, the attacker needs a single valid message signature (inline or detached) as well as the plaintext data that was legitimately signed, and can then construct an inline-signed message or signed-and-encrypted message with any data of the attacker's choice, which will appear as legitimately signed by affected versions of OpenPGP.js. In other words, any inline-signed message can be modified to return any other data (while still indicating that the signature was valid), and the same is true for signed+encrypted messages if the attacker can obtain a valid signature and encrypt a new message (of the attacker's choice) together with that signature. The issue has been patched in versions 5.11.3 and 6.1.1. Some workarounds are available. When verifying inline-signed messages, extract the message and signature(s) from the message returned by `openpgp.readMessage`, and verify the(/each) signature as a detached signature by passing the signature and a new message containing only the data (created using `openpgp.createMessage`) to `openpgp.verify`. When decrypting and verifying signed+encrypted messages, decrypt and verify the message in two steps, by first calling `openpgp.decrypt` without `verificationKeys`, and then passing the returned signature(s) and a new message containing the decrypted data (created using `openpgp.createMessage`) to `openpgp.verify`.
From the CVE record by GitHub_M, last updated May 20, 2025, 13:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| openpgpjs | openpgpjs | >= 5.0.1, < 5.11.3 >= 6.0.0-alpha.0, < 6.1.1 |
As the CVE record by GitHub_M states it, last updated May 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | openpgp | >= 5.0.1, < 5.11.3 | 5.11.3 | GHSA-8qff-qr5q-5pr8 |
| npm | openpgp | >= 6.0.0-alpha.0, < 6.1.1 | 6.1.1 | GHSA-8qff-qr5q-5pr8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 19, 2025. Summary: OpenPGP.js's message signature verification can be spoofed.
How severe is CVE-2025-47934?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-47934 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 20, 2025)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 53.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- https://github.com/openpgpjs/openpgpjs/security/advisories/GHSA-8qff-qr5q-5pr8 x_refsource_CONFIRM
- https://github.com/openpgpjs/openpgpjs/commit/43f5f4e2bd67d0514d06acc60b6ee571a049c229 x_refsource_MISC
- https://github.com/openpgpjs/openpgpjs/commit/bd54e8535ca29b3bef58a8c02296892e408be356 x_refsource_MISC
- https://github.com/openpgpjs/openpgpjs/releases/tag/v5.11.3 x_refsource_MISC
- https://github.com/openpgpjs/openpgpjs/releases/tag/v6.1.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 14, 2025
- Published
- May 19, 2025, 18:57 UTC
- CVE record updated
- May 20, 2025, 13:02 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:28 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect openpgpjs?
- Aug 29, 2023CVE-2023-41037 openpgpjs: cryptographic signature not verified
- Aug 22, 2019CVE-2019-9155 Openpgpjs: broken or risky cryptography
- Aug 22, 2019CVE-2019-9154 Openpgpjs: cryptographic signature not verified
- Aug 22, 2019CVE-2019-9153 Openpgpjs: cryptographic signature not verified
- Jul 25, 2017CVE-2015-8013 Openpgpjs: n/a
Questions about CVE-2025-47934
Is CVE-2025-47934 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of openpgpjs are affected by CVE-2025-47934?
openpgp from 5.0.1 before 5.11.3 and openpgp from 6.0.0-alpha.0 before 6.1.1, per the GitHub advisory GHSA-8qff-qr5q-5pr8. The tables above give every range the sources list.
Which version fixes CVE-2025-47934?
5.11.3 and 6.1.1, per the GitHub advisory GHSA-8qff-qr5q-5pr8. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-47934?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-47934?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.