RUSTSEC-2026-0132
not scored yetwithdrawn / rejectedPotential out-of-bounds write via public `Context` fields
The Context struct has all fields public (pub d_len, pub digest, etc.).
Code from other modules within the same crate can directly modify d_len to a
value exceeding the digest vector length. When reset() is subsequently
called, self.digest[self.d_len as usize] = 0 becomes an out-of-bounds write.
Withdrawal
This advisory has been withdrawn because the above unsoundness cannot be
triggered in safe code by dependents of the crate, as the Context struct
is not public. It merely represents an opportunity for improvement for the
crate's internals.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | ssdeep | >= 0.0.0-0 |
References
- https://crates.io/crates/ssdeep · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0132.html · ADVISORY
- https://github.com/rustysec/fuzzyhash-rs/issues/14 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 May 2026)