Vulnerability library
Security checkNovember 21, 2025

@hpke/core reuses AEAD nonces

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@hpke/core

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @hpke/core package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 1.7.4
  • Patched version(s): 1.7.5

References

Could your website be exposed too?

SmartScanner can check your website for @hpke/core reuses AEAD nonces and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 21, 2025