Skip to content

CVE-2025-64767 hpke-js reuses AEAD nonces

CriticalCVSS 9.1 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
hpke @hpke/core(npm) < 1.7.5; <= 1.7.4 1.7.5 Fixed
dajiaji hpke-js = < 1.7.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
hpke @hpke/core(npm) <= 1.7.4 No fix listed
dajiaji hpke-js = < 1.7.5 No fix listed
hpke @hpke/core(npm) < 1.7.5 1.7.5

References