CVE-2025-64767

hpke-js reuses AEAD nonces

State
Published
Severity
9.1 Critical
Published
Nov 21, 2025
Updated
Nov 21, 2025
Reserved
Nov 10, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-323 Reusing a Nonce, Key Pair in Encryption

Affected Products

ProductVersions
hpke-jsdajiaji
  • < 1.7.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.