CVE-2025-64767: @hpke/core reuses AEAD nonces
Affects @hpke/coreSource GCVE Database
Not known to be exploited · CVSS 9.1 Critical : upgrade to 1.7.5 as a priority.
Data as of 15 Nov 2026, 01:53 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.1 |
|---|
- Patch
- Available – fixed in 1.7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 14 Nov 2026.
What to do
Upgrade @hpke/core to 1.7.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@hpke/core | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to @hpke/core version 1.7.5 or later, where this race condition and nonce reuse issue has been fixed. Until upgrading, ensure that Seal() and Open() calls on the same context are not executed concurrently by implementing synchronization to serialize these operations.
Description
The @hpke/core library has a race condition in its SenderContext Seal() API that causes reuse of AEAD nonces during concurrent Seal() calls. This nonce reuse violates AEAD security guarantees, leading to complete loss of confidentiality and integrity of encrypted messages. The issue affects versions prior to 1.7.5 and has been fixed in version 1.7.5.
References
- github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-64767 (opens in a new tab)
- github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf (opens in a new tab)
- github.com/dajiaji/hpke-js (opens in a new tab)
- github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts (opens in a new tab)