cve.bz

CVE-2025-64767 dajiaji hpke-js: Reusing a Nonce, Key Pair in Encryption

9.1 criticalEPSS 0.4%Fix available

Critical (9.1) in dajiaji hpke-js. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in @hpke/core 1.7.5.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.4% (up from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-11-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-323 Reusing a Nonce, Key Pair in Encryption
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @hpke/core (npm): fixed in 1.7.5

Ask an AI about this CVE

Show the promptExplain CVE-2025-64767 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-64767?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-64767?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-64767 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
dajiaji hpke-js< 1.7.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-73g8-5h73-26h4npm@hpke/core<1.7.51.7.5

References

Check your stackJSON