A vulnerability was found in htmldoc version 1.9.15 where the stack out-of-bounds read takes place in gifgetcode() and occurs when opening a malicious GIF file, which can result in a crash (segmentation fault). (CVE-2022-0534)