| Name | CVE-2022-0534 | 
| Description | A vulnerability was found in htmldoc version 1.9.15 where the stack out-of-bounds read takes place in gif_get_code() and occurs when opening a malicious GIF file, which can result in a crash (segmentation fault). | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-2928-1 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| htmldoc (PTS) | bullseye | 1.9.11-4+deb11u3 | fixed | 
|  | bookworm | 1.9.16-1 | fixed | 
|  | trixie | 1.9.20-1 | fixed | 
|  | forky, sid | 1.9.21-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| htmldoc | source | stretch | 1.8.27-8+deb9u2 |  | DLA-2928-1 |  | 
| htmldoc | source | buster | 1.9.3-1+deb10u3 |  |  |  | 
| htmldoc | source | bullseye | 1.9.11-4+deb11u2 |  |  |  | 
| htmldoc | source | (unstable) | 1.9.15-1 | unimportant |  |  | 
Notes
https://github.com/michaelrsweet/htmldoc/issues/463
Fixed by: https://github.com/michaelrsweet/htmldoc/commit/776cf0fc4c760f1fb7b966ce28dc92dd7d44ed50 (v1.9.15)
Fixed by: https://github.com/michaelrsweet/htmldoc/commit/312f0f9c12f26fbe015cd0e6cefa40e4b99017d9 (v1.9.15)
Crash in CLI tool, no security impact