SECURITY ADVISORY RECORD (NON-KEV)
GHSA-xj2x-f8qw-37mr
Rust (Cargo) bcrypt
Vulnerability Overview
bcrypt::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. 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...
Advisory Facts & Remediation Mandate
Remediation Due Date
No federal deadline
Date Added
2026-12-03
Affected Vendor / Product
Rust (Cargo) bcrypt
Ransomware Campaign Use
Not reported
Required Action:
Upgrade bcrypt to version 0.19.2 or later.
Advisory Verification Questions
Is GHSA-xj2x-f8qw-37mr listed in the CISA KEV catalog?
No. This record tracks an ecosystem/vendor advisory affecting Rust (Cargo) bcrypt and is not currently listed in the CISA KEV catalog.
What is the official remediation action for GHSA-xj2x-f8qw-37mr?
Upgrade bcrypt to version 0.19.2 or later.