CVE-2023-42447

blurhash panics on parsing crafted inputs

Description

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.

Categories

8.6
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.52%
Vendor Advisory github.com
Affected: whisperfish blurhash-rs
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-42447?
CVE-2023-42447 has been scored as a high severity vulnerability.
How to fix CVE-2023-42447?
To fix CVE-2023-42447, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-42447 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-42447 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-42447?
CVE-2023-42447 affects whisperfish blurhash-rs.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.