CVE-2015-8013Openpgpjs
High 7.5 No auth needed
Follow: this CVE · Openpgpjs · Openpgpjs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jul 25, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
s2k.js in OpenPGP.js will decrypt arbitrary messages regardless of passphrase for crafted PGP keys which allows remote attackers to bypass authentication if message decryption is used as an authentication mechanism via a crafted symmetrically encrypted PGP message.
What to do
- Apply the vendor's security update for Openpgpjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | openpgp |
< 1.3.0 |
1.3.0 |
npm install openpgp@1.3.0 |
Per OSV / GitHub Advisories (GHSA-qmvq-f3fj-m3wg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openpgpjs | openpgpjs | ≤ 1.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Patch Third Party Advisory