RUSTSEC-2026-0329
Auto-Reseeding HMAC-DRBG could panic for some output lengths
Mitigation
- Upgrade libcrux-hmac-drbg to 0.0.2 or later.
Who should check
- Projects that depend on crates.io package libcrux-hmac-drbg (>= 0.0.0-0, < 0.0.2)
Vulnerability facts
- Affected
- libcrux-hmac-drbg >= 0.0.0-0, < 0.0.2
- Fixed in
- 0.0.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
The automatically reseeding implementations of HMAC-DRBG would panic if called with a desired non-zero output length cleanly divisible by `65_536`, the maximum number of output bytes that can be generated before reseeding has to happen. # Impact An application relying on `libcrux-hmac-drgb` to provide randomness of byte length a non-zero integer multiple of `65_536` in a single call to `fill_bytes` would panic. Any calls with output buffer lengths not cleanly divisible by `65_536` are not affected. # Mitigation With release the release of version `0.0.2` of `libcrux-hmac-drbg` this bug has been fixed and reseeding DRBG implementations can be used with arbitrary output lengths. We recommend users upgrade to `libcrux-hmac-drbg` version `0.0.2`.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io libcrux-hmac-drbg | >= 0.0.0-0, < 0.0.2 | 0.0.2 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by RUSTSEC-2026-0329. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/RUSTSEC-2026-0329.md Affected: libcrux-hmac-drbg >= 0.0.0-0, < 0.0.2 Fixed in: 0.0.2 Steps: 1. Search this machine and project for libcrux-hmac-drbg (crates.io): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is RUSTSEC-2026-0329 being exploited?
There is no confirmed exploitation: RUSTSEC-2026-0329 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is RUSTSEC-2026-0329?
It has no CVSS score yet. Unknown.
Which versions are affected by RUSTSEC-2026-0329?
libcrux-hmac-drbg >= 0.0.0-0, < 0.0.2.
Is there a fix for RUSTSEC-2026-0329?
Yes. Fixed in 0.0.2. Upgrade libcrux-hmac-drbg to 0.0.2 or later.
How do I check if I'm affected by RUSTSEC-2026-0329?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.