CVE-2023-42447
HIGH 7.5CVSS 3.1blurhash panics on parsing crafted inputs
blurhash-rs is a pure Rust implementation of Blurhash, software for encoding images into ASCII strings that can be turned into a gradient of colors representing the original image. In version 0.1.1, 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. A patch is available in version 0.2.0, which requires user intervention because of slight API churn. No known workarounds are available.
- Published
- 19 Sep 2023
- Last modified
- 13 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1284CWE-248CWE-392
- Also known as
- GHSA-cxvp-82cq-57h2RUSTSEC-2023-0083
- Sources
- NVDJSONOSV GHSA-cxvp-82cq-57h2JSONOSV RUSTSEC-2023-0083JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | whisperfish | blurhash-rscpe:2.3:a:whisperfish:blurhash-rs:0.1.1:*:*:*:*:rust:*:* |
= 0.1.1 | |
| OSV | crates.io | blurhash | >= 0.1.1, < 0.2.0 | 0.2.0 |
| OSV | crates.io | blurhash | >= 0.0.0-0, < 0.2.0 | 0.2.0 |
References
- https://github.com/whisperfish/blurhash-rs/security/advisories/GHSA-cxvp-82cq-57h2 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-42447 · ADVISORY
- https://github.com/whisperfish/blurhash-rs · PACKAGE
- https://github.com/whisperfish/blurhash-rs/releases/tag/v0.2.0 · WEB
- https://crates.io/crates/blurhash · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0083.html · ADVISORY
- https://github.com/whisperfish/blurhash-rs/commit/e1b3209734d2a2704ed5ddcf61dc0beab6caa64d · WEB
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42447 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Sep 2023)