CVE-2022-0534
publishedhtmldoc: stack out-of-bounds read in gif_get_code() when opening a malicious GIF file results in a segmentation fault
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | htmldochtmldoc 1.9.15 | Affected | Not stated | fedora |
| Debian | stretch | htmldoc | Advisory build | 1.8.27-8+deb9u2 | DLA-2928-1 |
| Ubuntu | bionic | htmldoc | Advisory build | 1.9.2-1ubuntu0.2+esm2 | USN-7225-1 |
| Ubuntu | focal | htmldoc | Advisory build | 1.9.7-1ubuntu0.3+esm2 | USN-7225-1 |
| Ubuntu | trusty | htmldoc | Advisory build | 1.8.27-8ubuntu1+esm4 | USN-7225-1 |
| Ubuntu | xenial | htmldoc | Advisory build | 1.8.27-8ubuntu1.1+esm3 | USN-7225-1 |
| Ubuntu | bionic | htmldoc-common | Advisory build | 1.9.2-1ubuntu0.2+esm2 | USN-7225-1 |
| Ubuntu | focal | htmldoc-common | Advisory build | 1.9.7-1ubuntu0.3+esm2 | USN-7225-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | trusty | htmldoc-common | Advisory build | 1.8.27-8ubuntu1+esm4 | USN-7225-1 |
| Ubuntu | xenial | htmldoc-common | Advisory build | 1.8.27-8ubuntu1.1+esm3 | USN-7225-1 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | htmldoc | htmldoc 1.9.15 (affected) | fedora · cna |
Weaknesses
1- CWE-125
References
3- https://github.com/michaelrsweet/htmldoc/commit/312f0f9c12f26fbe015cd0e6cefa40e4b99017d9
- https://github.com/michaelrsweet/htmldoc/issues/463
- [debian-lts-announce] 20220226 [SECURITY] [DLA 2928-1] htmldoc security update https://lists.debian.org/debian-lts-announce/2022/02/msg00022.html
Provider assertions
2fedora · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7c25a7daa7ca193a05a43e9f8642a2077258db45ba39d928c4064a1a11528477
- Ingested
- 23 Sep 2026, 07:57:33 UTC
- Source record
- Official CVE record