Rust advisories / blurhash
Vulnerability HighRUSTSEC-2023-0083 · blurhash
RUSTSEC-2023-0083: blurhash: panic on parsing crafted blurhash inputs
Short answerA security vulnerability in the blurhash crate: blurhash: panic on parsing crafted blurhash inputs. High severity (CVSS 8.6). Fixed in 0.2.0: update to a fixed version.
| Crate | blurhash |
|---|---|
| Type | Vulnerability (denial-of-service) |
| Affected versions | Before 0.2.0. |
| Fixed in | 0.2.0 |
| Severity | High, CVSS 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| Published | 2023-09-19 |
| Last changed | 2026-10-13 |
| Also known as | CVE-2023-42447, GHSA-cxvp-82cq-57h2 |
| Affected functions | blurhash::decode |
What to do
- See which version you have:
cargo tree -i blurhash(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p blurhash. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleblurhash = "0.2.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Impact
The blurhash parsing code may panic due to multiple panic-guarded out-of-bounds accesses on untrusted input.
In a typical deployment, this may get triggered by feeding a maliciously crafted blurhashes over the network. These may include:
- UTF-8 compliant strings containing multi-byte UTF-8 characters
Patches
The patches were released under version 0.2.0, which may require user intervention because of slight API churn.
References
- Package: crates.io/crates/blurhash
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0083.html
- Web: github.com/whisperfish/blurhash-rs/commit/e1b3209734d2a2704ed5ddcf61dc0beab6caa64d
- Web: cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42447
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?