Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hpke/core
  4. ›
  5. CVE-2025-64767

CVE-2025-64767: @hpke/core reuses AEAD nonces

November 20, 2025 (updated November 21, 2025)

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.

References

  • github.com/advisories/GHSA-73g8-5h73-26h4
  • github.com/dajiaji/hpke-js
  • github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts
  • github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf
  • github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4
  • nvd.nist.gov/vuln/detail/CVE-2025-64767

Code Behaviors & Features

Detect and mitigate CVE-2025-64767 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.7.5

Fixed versions

  • 1.7.5

Solution

Upgrade to version 1.7.5 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

npm/@hpke/core/CVE-2025-64767.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:39 +0000.