CVE-2022-24191
published 2022-04-04CVE-2022-24191: In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
PriorityP419medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.73%
49.5th percentile
In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | htmldoc | < htmldoc 1.9.15-1 (bookworm) | htmldoc 1.9.15-1 (bookworm) |
| fedoraproject | fedora | — | — |
| htmldoc_project | htmldoc | < 1.9.15 | 1.9.15 |
| htmldoc_project | htmldoc | >= 0 < 1.9.11-4+deb11u3 | 1.9.11-4+deb11u3 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-1 | 1.9.15-1 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-1 | 1.9.15-1 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-1 | 1.9.15-1 |
| htmldoc_project | htmldoc | >= 0 < 1.8.27-8ubuntu1+esm4 | 1.8.27-8ubuntu1+esm4 |
| htmldoc_project | htmldoc | >= 0 < 1.8.27-8ubuntu1.1+esm3 | 1.8.27-8ubuntu1.1+esm3 |
| htmldoc_project | htmldoc | >= 0 < 1.9.2-1ubuntu0.2+esm2 | 1.9.2-1ubuntu0.2+esm2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.7-1ubuntu0.3+esm2 | 1.9.7-1ubuntu0.3+esm2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-1ubuntu0.1~esm1 | 1.9.15-1ubuntu0.1~esm1 |
| htmldoc_project | htmldoc | >= 0 < 1.9.17-1ubuntu0.1~esm1 | 1.9.17-1ubuntu0.1~esm1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_ubuntu7.5HIGH
vendor_debian5.5LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
HTMLDOC vulnerabilities
osv·2025-01-22·CVSS 5.5
CVE-2022-0137 [MEDIUM] HTMLDOC vulnerabilities
HTMLDOC vulnerabilities
It was discovered that HTMLDOC incorrectly handled memory in the
image_set_mask, git_read_lzw, write_header and write_node functions, which
could lead to a heap buffer overflow. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. (CVE-2022-0137, CVE-2022-24191, CVE-2022-34033,
CVE-2022-34035)
It was discovered that HTMLDOC incorrectly handled memory in the
gif_get_code function, which could lead to a segmentation fault. If a
user or application were tricked into opening a crafted GIF file, an
attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
GHSA
GHSA-88v7-976w-9hc8: In HTMLDOC 1
ghsa_unreviewed·2022-04-05
CVE-2022-24191 [MEDIUM] CWE-835 GHSA-88v7-976w-9hc8: In HTMLDOC 1
In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
OSV
CVE-2022-24191: In HTMLDOC 1
osv·2022-04-04·CVSS 5.5
CVE-2022-24191 [MEDIUM] CVE-2022-24191: In HTMLDOC 1
In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
Ubuntu
HTMLDOC vulnerabilities
vendor_ubuntu·2025-01-22·CVSS 7.5
CVE-2022-0534 [HIGH] HTMLDOC vulnerabilities
Title: HTMLDOC vulnerabilities
Summary: Several security issues were fixed in htmldoc.
It was discovered that HTMLDOC incorrectly handled memory in the
image_set_mask, git_read_lzw, write_header and write_node functions, which
could lead to a heap buffer overflow. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. (CVE-2022-0137, CVE-2022-24191, CVE-2022-34033,
CVE-2022-34035)
It was discovered that HTMLDOC incorrectly handled memory in the
gif_get_code function, which could lead to a segmentation fault. If a
user or application were tricked into opening a crafted GIF file, an
attacker could possibly use this issue to cause a denial of servic
Debian
CVE-2022-24191: htmldoc - In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a p...
vendor_debian·2022·CVSS 5.5
CVE-2022-24191 [MEDIUM] CVE-2022-24191: htmldoc - In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a p...
In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
Scope: local
bookworm: resolved (fixed in 1.9.15-1)
bullseye: resolved (fixed in 1.9.11-4+deb11u3)
forky: resolved (fixed in 1.9.15-1)
sid: resolved (fixed in 1.9.15-1)
trixie: resolved (fixed in 1.9.15-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/michaelrsweet/htmldoc/issues/470https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RPDZLHOMPSA2LBXXFTZ5UADZWGYYWH7/https://github.com/michaelrsweet/htmldoc/issues/470https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RPDZLHOMPSA2LBXXFTZ5UADZWGYYWH7/
2022-04-04
Published