Live threats

All CVEs / Openpgpjs

CVE-2015-8013Openpgpjs

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Openpgpjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
openpgpjsopenpgpjs≤ 1.2.0

Official sources

References

Links published by the sources. Open them with care.