CVE Explorer
CVE-2025-64767
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"hpke-js","vendor":"dajiaji","versions":[{"status":"affected","version":"< 1.7.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f0f4b75baa37eaa4fd913595ab88a316f7fea6acaba3bb5c268231215546632d · sha256:cd4c39daaee3243a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f0f4b75baa37eaa4fd913595ab88a316f7fea6acaba3bb5c268231215546632d · sha256:cd4c39daaee3243a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-323","description":"CWE-323: Reusing a Nonce, Key Pair in Encryption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f0f4b75baa37eaa4fd913595ab88a316f7fea6acaba3bb5c268231215546632d · sha256:cd4c39daaee3243a… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34","tags":["x_refsource_MISC"],"url":"https://github.com/dajiaji/hpke-js/blob/b7fd3592c7c08660c98289d67c6bb7f891af75c4/packages/core/src/senderContext.ts#L22-L34"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f0f4b75baa37eaa4fd913595ab88a316f7fea6acaba3bb5c268231215546632d · sha256:cd4c39daaee3243a… · /containers/cna/references/2
{"name":"https://github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf","tags":["x_refsource_MISC"],"url":"https://github.com/dajiaji/hpke-js/commit/94a767c9b9f37ce48d5cd86f7017d8cacd294aaf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f0f4b75baa37eaa4fd913595ab88a316f7fea6acaba3bb5c268231215546632d · sha256:cd4c39daaee3243a… · /containers/cna/references/1
{"name":"https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f0f4b75baa37eaa4fd913595ab88a316f7fea6acaba3bb5c268231215546632d · sha256:cd4c39daaee3243a… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.