Nonce Reuse Affecting @hpke/core package, versions <1.7.5


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-HPKECORE-14101852
  • published23 Nov 2025
  • disclosed20 Nov 2025
  • creditFilip Skokan

Introduced: 20 Nov 2025

NewCVE-2025-64767  (opens in a new tab)
CWE-323  (opens in a new tab)

How to fix?

Upgrade @hpke/core to version 1.7.5 or higher.

Overview

@hpke/core is an A Hybrid Public Key Encryption (HPKE) core module for various JavaScript runtimes

Affected versions of this package are vulnerable to Nonce Reuse via the public SenderContext Seal() API. An attacker can compromise the confidentiality and integrity of encrypted messages by triggering concurrent calls that cause the reuse of AEAD nonces, allowing for potential message decryption or manipulation.

CVSS Base Scores

version 4.0
version 3.1