CVE-2025-64767CWE-323

CVE-2025-64767

Critical · published November 22, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

🔥 A race condition in hpke-js lets the same encryption nonce be reused, completely jeopardizing your data's confidentiality and integrity! Think of this like a restaurant repeating the same secret ingredient in multiple dishes without checking — the unique flavor gets lost, and you can’t trust what's on your plate anymore. Every time you seal a message, it’s like serving the same dish under a different name, and anyone can taste the difference. An attacker could exploit this oversight, intercepting messages and reconstructing sensitive information. This could lead to a devastating loss of data integrity and confidentiality, compromising the entire system's security and trusting relationships. This is a serious risk that could leave users vulnerable!

Put simply

Think of this like a restaurant repeating the same secret ingredient in multiple dishes without checking — the unique flavor gets lost, and you can’t trust what's on your plate anymore. Every time you seal a message, it’s like serving the same dish under a different name, and anyone can taste the difference. The race condition in hpke-js allows multiple calls to the SenderContext Seal() API to reuse the same AEAD nonce, preventing secure message encryption and exposing sensitive data.

What to do

An attacker could exploit this oversight, intercepting messages and reconstructing sensitive information. This could lead to a devastating loss of data integrity and confidentiality, compromising the entire system's security and trusting relationships. This is a serious risk that could leave users vulnerable! Update hpke-js to version 1.7.5 immediately to patch this vulnerability. Ensure that all instances of the library are replaced and review your encryption processes to maintain data integrity. Regularly audit for vulnerabilities to stay ahead of potential exploits! You've got this! Just follow these steps, and you'll keep your data safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00228 · 12.8th percentile
Weakness
CWE-323 · Reusing a Nonce, Key Pair in Encryption
Published
2025-11-22T00:16Z
References (3)
EPSS history
Timeline
  • 21 NOV 18:47Z
    hpke-js reuses AEAD nonces
    cvelistv5