CVE-2025-64767
hpke-js is a Hybrid Public Key Encryption (HPKE) module built on …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4
- github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf
- github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src
- nvd.nist.gov/vuln/detail/CVE-2025-64767
- github.com/advisories/GHSA-73g8-5h73-26h4
- nvd.nist.gov/vuln/detail/CVE-2025-64767
- cve.org/CVERecord?id=CVE-2025-64767
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.