hpke-js reuses AEAD nonces
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
hpke-js is a Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API. Prior to version 1.7.5, the public SenderContext Seal() API has a race condition which allows for the same AEAD nonce to be re-used for multiple Seal() calls. This can lead to complete loss of Confidentiality and Integrity of the produced messages. This issue has been patched in version 1.7.5.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dajiaji | hpke-js | before 1.7.5 | 1.7.5 | Patch available | CNA |
| — | @hpke/core (npm) | before 1.7.5 | 1.7.5 | Patch available | GHSA-73g8-5h73-26h4 |
- hpke-js Vendordajiaji Affected before 1.7.5 Fixed in 1.7.5 Patch available CNA
- @hpke/core (npm) Vendor— Affected before 1.7.5 Fixed in 1.7.5 Patch available GHSA-73g8-5h73-26h4
Remediation
- Fix · CNA hpke-js (dajiaji) Fixed in 1.7.5
- Fix · GHSA-73g8-5h73-26h4 @hpke/core (npm) Fixed in 1.7.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64767
- 2026-10-03 Alias added: GHSA-73g8-5h73-26h4
References
Other 4
- https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4
- https://github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf
- https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34
- https://github.com/dajiaji/hpke-js
Sources
- CVE-2025-64767 · CVE Program
- CVE-2025-64767 · NVD
- FIRST EPSS
- GHSA-73g8-5h73-26h4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences