Skip to content
OpenAdvisories
Critical · 9.1 CVE-2025-64767 EUVD-2025-198319GHSA-73g8-5h73-26h4

hpke-js reuses AEAD nonces

Published Nov 21, 2025 · Updated Nov 21, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
dajiaji hpke-js < 1.7.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @hpke/core < 1.7.5 1.7.5 GHSA-73g8-5h73-26h4

References