Libjxl · Libjxl · CVE-2021-36691
**Name of the Vulnerable Software and Affected Versions**
libjxl version v0.5.0
**Description**
The issue is related to a problem of assertion failure in the lib/jxl/image.cc file, specifically in the `jxl::PlaneBase::PlaneBase()` function. When encoding a malicious GIF file using cjxl, an attacker can trigger a denial of service.
**Recommendations**
For libjxl version v0.5.0, consider avoiding the use of the `jxl::PlaneBase::PlaneBase()` function when encoding GIF files until a patch is available. As a temporary workaround, restrict the use of cjxl for encoding GIF files to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.