GHSA-g433-pq76-6cmf: Bug fixes in hpke-rs, hpke-rs-rust-crypto
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: hpke-rs (crates.io) 0.6.0; hpke-rs-rust-crypto (crates.io) 0.6.0.
Low priority for now. Upgrade to hpke-rs (crates.io) 0.6.0; hpke-rs-rust-crypto (crates.io) 0.6.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: OSV
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](https://github.com/cryspen/hpke-rs/pull/127): Fix `KemAlgorithm::TryFrom<u16>` mapping where `0x004D` incorrectly resolved to `XWingDraft06` instead of `XWingDraft06Obsolete`. - [#123](https://github.com/cryspen/hpke-rs/pull/123): Fix potential overflow in context counter and switch to use u64. - [#128](https://github.com/cryspen/hpke-rs/pull/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](https://github.com/cryspen/hpke-rs/pull/124): Error out on x25519 0 keys The issue fixed in #124 was first reported by Nadim Kobeissi.
- Published
- Feb 13, 2026
- Updated
- Mar 25, 2026
- EPSS
- —
- CWE
- CWE-190
Report tools
Action score
0
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · —
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| crates.io | hpke-rs | pkg:cargo/hpke-rs |
| crates.io | hpke-rs-rust-crypto | pkg:cargo/hpke-rs-rust-crypto |
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| crates.io | hpke-rs | from 0.0.0-0 · before 0.6.0 | 0.6.0 |
| crates.io | hpke-rs | before 0.6.0 | 0.6.0 |
| crates.io | hpke-rs-rust-crypto | from 0.0.0-0 · before 0.6.0 | 0.6.0 |
| crates.io | hpke-rs-rust-crypto | before 0.6.0 | 0.6.0 |
Same product
crates.io: all recordsOther highest-scoring records for the same primary product.
- RUSTSEC-2026-0070Panic When Opening or Sealing on Export-Only Context0Monitor
- RUSTSEC-2026-0069Incorrect Length Encoding on KDF Export0Monitor
- RUSTSEC-2026-0071Nonce Reuse in HPKE Context0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| crates.io:hpke-rs | 0.6.0 | Package registry (OSV) |
| crates.io:hpke-rs-rust-crypto | 0.6.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
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
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (2)
- Fix✗ → ✓
- CVSS8 → —
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- github.com/cryspen/hpke-rs/pull/123
- github.com/cryspen/hpke-rs/pull/124
- github.com/cryspen/hpke-rs/pull/127
- github.com/cryspen/hpke-rs/pull/128
- github.com/cryspen/hpke-rs/commit/1c247b5c9aeca602ad2971c9bd49817fe2c308e6
- github.com/cryspen/hpke-rs/commit/25248bd624cc0325c98a05c169a0c9aa0aced632
- github.com/cryspen/hpke-rs/commit/3a8254938f43bdc4e0c9c4f987f8071f19779066
- github.com/cryspen/hpke-rs/commit/b54c8bb83906331bdf4f606cafa30cd7fd20b531
- github.com/cryspen/hpke-rs
- rustsec.org/advisories/RUSTSEC-2026-0070.html
- rustsec.org/advisories/RUSTSEC-2026-0072.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.