CVE-2025-64767
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-64767 affects the hpke-js library, a Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API. The vulnerability was discovered and disclosed on November 19, 2025, affecting versions 1.7.4 and earlier of the @hpke/core npm package (Debian Tracker, GitHub Advisory).

Technical details

The vulnerability is a race condition in the public SenderContext Seal() API implementation that allows concurrent executions to trigger computeNonce() with the same sequence number. This results in the same AEAD (Authenticated Encryption with Associated Data) nonce being reused for multiple Seal() calls. The vulnerability has been assigned a CVSS score of 9.1 (Critical) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, indicating high severity impacts on confidentiality and integrity (Miggo).

Impact

The vulnerability can lead to a complete loss of confidentiality and integrity of the produced messages when exploited. This is particularly severe as nonce reuse in AEAD operations can compromise the security guarantees of the encryption system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.7.5 of the @hpke/core package. The fix implements a synchronization mechanism using a Mutex to ensure that only one seal()/open() operation per context can be executed at a time. Users are strongly advised to upgrade to version 1.7.5 or later (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65108CRITICAL10
  • JavaScriptJavaScript
  • md-to-pdf
NoYesNov 21, 2025
CVE-2025-64767CRITICAL9.1
  • JavaScriptJavaScript
  • @hpke/core
NoYesNov 21, 2025
CVE-2025-64755HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesNov 21, 2025
CVE-2025-64762HIGH8
  • JavaScriptJavaScript
  • @workos-inc/authkit-nextjs
NoYesNov 21, 2025
CVE-2025-63700HIGH7.5
  • JavaScriptJavaScript
  • @clerk/clerk-js
NoNoNov 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management