{"id":"ghsa-ghsa-xj2x-f8qw-37mr","seq":13099066,"kind":"advisory","title":"bcrypt: Non-ASCII hash input can cause verification panic","url":"https://github.com/advisories/GHSA-xj2x-f8qw-37mr","permalink":"https://vulnpulse.app/items/ghsa-ghsa-xj2x-f8qw-37mr","summary":"影響: rust:bcrypt >= 0.19.0, < 0.19.2 → 0.19.2\nbcrypt::verify(password, hash) and HashParts::from_str(hash) panic in str::slice_error_fail when given a 60-byte &str containing a multi-byte UTF-8 character at certain byte positions. Impact Any Rust code that calls bcrypt::verify (or HashParts::from_str) with an attacker-controlled hash string will panic. The bcrypt crate is #![forbid(unsafe_code)], so this is limited to a denial-of-service and cannot lead to memory corruption. Realistic attack contexts include: - Rust authentication services…","severity":"medium","cvss":null,"techs":["rust"],"cves":[],"tags":["GHSA-xj2x-f8qw-37mr","bcrypt"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-03T23:53:37.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}