{"id":"CVE-2025-64767","published":"2025-11-21T18:47:19Z","modified":"2025-11-21T19:01:11Z","title":"hpke-js reuses AEAD nonces","vendor":"dajiaji","product":"hpke-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00228,"percentile":0.13794,"provenance":"source"},"cwes":[{"id":"CWE-323","name":"Reusing a Nonce, Key Pair in Encryption"}],"references":[{"url":"https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf","tags":["x_refsource_MISC"]},{"url":"https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"dajiaji","affectedVersions":[{"vendor":"dajiaji","product":"hpke-js","versions":["< 1.7.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-21T18:59:55.477261Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@hpke/core","vulnerableRanges":["<1.7.5"],"patched":["1.7.5"],"from":["GHSA-73g8-5h73-26h4"],"provenance":"source"}],"summary":{"text":"The hpke-js module, an implementation of Hybrid Public Key Encryption built on the Web Cryptography API from dajiaji, contains a race condition in the public SenderContext Seal() API in versions before 1.7.5, which allows the same AEAD nonce to be reused across multiple Seal() calls. An attacker with network access can exploit this without authentication or user interaction, with the result that the confidentiality and integrity of the messages produced by the affected API can be fully compromised.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:39Z"},"euvd":{"id":"EUVD-2025-198319","exploited":false,"provenance":"source"}}