Vulnerability · Published Nov 21, 2025 · Assigned by GitHub_M

CVE-2025-64767hpke-js reuses AEAD nonces

Critical 9.1

In plain English

A critical-severity security flaw in hpke-js from dajiaji. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.2%top 86.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@hpke/core1.7.5GHSA-73g8-5h73-26h4

Affected products (as reported)

VendorProductVersions
dajiaji hpke-js < 1.7.5

Weakness: CWE-323 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References