CVE-2025-64767
CRITICAL 9.1CVSS 3.1@hpke/core reuses AEAD nonces
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.
- Published
- 21 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-323
- Also known as
- GHSA-73g8-5h73-26h4
- Sources
- NVDJSONOSV GHSA-73g8-5h73-26h4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @hpke/core | < 1.7.5 | 1.7.5 |
References
- https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34 · WEB
- https://github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf · WEB
- https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64767 · ADVISORY
- https://github.com/dajiaji/hpke-js · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 21 Nov 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Nov 2025)