# RUSTSEC-2026-0071 - Nonce Reuse in HPKE Context

Source: https://junglewise.ai/threats/rustsec-2026-0071-nonce-reuse-in-hpke-context-b9ddb8fe  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-05  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2026-02-05

Nonce Reuse in HPKE Context

Technologies: [hpke-rs (crates.io)](https://junglewise.ai/threats/technologies/hpke-rs). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 5 February 2026.

**Which products and versions are affected?** hpke-rs (crates.io) SEMVER:introduced=0.0.0-0,fixed=0.6.0.

**Is there a fix for This vulnerability?** Yes. hpke-rs (crates.io): upgrade to 0.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run hpke-rs (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- hpke-rs (crates.io): upgrade to 0.6.0 or later

  ```sh
  cargo update -p hpke-rs
  ```


## Affected products

- hpke-rs (crates.io) SEMVER:introduced=0.0.0-0,fixed=0.6.0

## Related threats

- [Bug fixes in hpke-rs, hpke-rs-rust-crypto](https://junglewise.ai/threats/bug-fixes-in-hpke-rs-hpke-rs-rust-crypto-a2e883c0)
- [RUSTSEC-2026-0070 - Panic When Opening or Sealing on Export-Only Context](https://junglewise.ai/threats/rustsec-2026-0070-panic-when-opening-or-sealing-on-export-only-context-86a223aa)
- [RUSTSEC-2026-0069 - Incorrect Length Encoding on KDF Export](https://junglewise.ai/threats/rustsec-2026-0069-incorrect-length-encoding-on-kdf-export-ff907fbd)
