{"id":"CVE-2023-42447","summary":"blurhash panics on parsing crafted inputs","details":"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.","aliases":["GHSA-cxvp-82cq-57h2","RUSTSEC-2023-0083"],"modified":"2026-08-12T03:51:25.234420609Z","published":"2023-09-19T14:57:16.784Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1284","CWE-248","CWE-392"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42447.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42447.json"},{"type":"ADVISORY","url":"https://github.com/whisperfish/blurhash-rs/security/advisories/GHSA-cxvp-82cq-57h2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42447"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/whisperfish/blurhash-rs","events":[{"introduced":"ef38509dda21e52a38e5e37636377d8aed753edd"},{"last_affected":"ef38509dda21e52a38e5e37636377d8aed753edd"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:whisperfish:blurhash-rs:0.1.1:*:*:*:*:rust:*:*","extracted_events":[{"introduced":"= 0.1.1"},{"last_affected":"= 0.1.1"},{"introduced":"0.1.1"},{"last_affected":"0.1.1"}]}}],"versions":["0.1.1","= 0.1.1","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42447.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"}]}