Security mailing lists by PureSourceCode

RUSTSEC-2026-0071

HIGH

Bug fixes in hpke-rs, hpke-rs-rust-crypto

We publish a GitHub security advisory for any releases whose CHANGELOG includes bug-fixes, and encourage our users to upgrade. The latest releases of the hpke-rs and hpke-rs-rust-crypto crates contain the following bug-fixes:

hpke-rs

  • #127: Fix KemAlgorithm::TryFrom<u16> mapping where 0x004D incorrectly resolved to XWingDraft06 instead of XWingDraft06Obsolete.
  • #123: Fix potential overflow in context counter and switch to use u64.
  • #128: Return errors when trying to use open/seal with export only ciphersuite and when using kdf export with an output that's too long (instead of truncating it)

The issue fixed in #123 was first reported by Nadim Kobeissi.
The issues fixed in #127 and #128 were first reported by Scott Arciszewski.

hpke-rs-rust-crypto

  • #124: Error out on x25519 0 keys

The issue fixed in #124 was first reported by Nadim Kobeissi.

Published
4 Feb 2026
Last modified
25 Mar 2026
Weakness
CWE-190CWE-20CWE-697
Also known as
GHSA-g433-pq76-6cmfRUSTSEC-2026-0069RUSTSEC-2026-0070RUSTSEC-2026-0072
Sources
OSV GHSA-g433-pq76-6cmfJSONOSV RUSTSEC-2026-0069JSONOSV RUSTSEC-2026-0070JSONOSVJSONOSV RUSTSEC-2026-0072JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
OSV RustSec CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
OSV RustSec CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io hpke-rs < 0.6.0 0.6.0
OSV crates.io hpke-rs-rust-crypto < 0.6.0 0.6.0
OSV crates.io hpke-rs >= 0.0.0-0, < 0.6.0 0.6.0
OSV crates.io hpke-rs-rust-crypto >= 0.0.0-0, < 0.6.0 0.6.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.