GHSA-g433-pq76-6cmf
HIGHBug 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 where0x004Dincorrectly resolved toXWingDraft06instead ofXWingDraft06Obsolete. - #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
- RUSTSEC-2026-0069RUSTSEC-2026-0070RUSTSEC-2026-0071RUSTSEC-2026-0072
- Sources
- OSVJSONOSV RUSTSEC-2026-0069JSONOSV RUSTSEC-2026-0070JSONOSV RUSTSEC-2026-0071JSONOSV RUSTSEC-2026-0072JSON
Scores
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed 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
- https://github.com/cryspen/hpke-rs/security/advisories/GHSA-g433-pq76-6cmf · WEB
- https://github.com/cryspen/hpke-rs/pull/123 · WEB
- https://github.com/cryspen/hpke-rs/pull/124 · WEB
- https://github.com/cryspen/hpke-rs/pull/127 · WEB
- https://github.com/cryspen/hpke-rs/pull/128 · WEB
- https://github.com/cryspen/hpke-rs/commit/1c247b5c9aeca602ad2971c9bd49817fe2c308e6 · WEB
- https://github.com/cryspen/hpke-rs/commit/25248bd624cc0325c98a05c169a0c9aa0aced632 · WEB
- https://github.com/cryspen/hpke-rs/commit/3a8254938f43bdc4e0c9c4f987f8071f19779066 · WEB
- https://github.com/cryspen/hpke-rs/commit/b54c8bb83906331bdf4f606cafa30cd7fd20b531 · WEB
- https://github.com/cryspen/hpke-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0070.html · WEB, ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2026-0072.html · WEB, ADVISORY
- https://crates.io/crates/hpke-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0069.html · ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2026-0071.html · ADVISORY
- https://crates.io/crates/hpke-rs-rust-crypto · PACKAGE
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)