{"id":"CVE-2025-64767","state":"PUBLISHED","title":"hpke-js reuses AEAD nonces","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.","publishedAt":"2025-11-21T18:47:19.930Z","updatedAt":"2025-11-21T19:01:11.833Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["dajiaji hpke-js"],"affected":[{"vendor":"dajiaji","product":"hpke-js","versions":[{"version":"< 1.7.5","status":"affected"}]}],"references":["https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4","https://github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf","https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34"],"weaknesses":["CWE-323"],"ingestedAt":"2026-10-29T20:09:48.677Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/64xxx/CVE-2025-64767.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-64767","state":"PUBLISHED","datePublished":"2025-11-21T18:47:19.930Z","dateUpdated":"2025-11-21T19:01:11.833Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-10T22:29:34.877Z"},"containers":{"cna":{"title":"hpke-js reuses AEAD nonces","descriptions":[{"lang":"en","value":"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":[{"vendor":"dajiaji","product":"hpke-js","versions":[{"version":"< 1.7.5","status":"affected"}]}],"references":[{"url":"https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4","name":"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","name":"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","name":"https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-323","lang":"en","description":"CWE-323: Reusing a Nonce, Key Pair in Encryption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-11-21T18:47:19.930Z"},"source":{"advisory":"GHSA-73g8-5h73-26h4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-21T18:59:55.477261Z","id":"CVE-2025-64767","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-21T19:01:11.833Z"}}]}}}