CVE-2019-9155Openpgpjs
Medium 5.9 No auth needed
- Priority
- 50
- CVSS 3.0
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 22, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-327
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
A cryptographic issue in OpenPGP.js <=4.2.0 allows an attacker who is able provide forged messages and gain feedback about whether decryption of these messages succeeded to conduct an invalid curve attack in order to gain the victim's ECDH private key.
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 |
< 4.3.0 |
4.3.0 |
npm install openpgp@4.3.0 |
Per OSV / GitHub Advisories (GHSA-77jf-fjjf-xcww). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openpgpjs | openpgpjs | ≤ 4.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes
- sec-consult.com Exploit Third Party Advisory
- www.bsi.bund.de Third Party Advisory