CVE-2022-0137
published 2022-11-14CVE-2022-0137: A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.56%
42.1th percentile
A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | htmldoc | < htmldoc 1.9.15-1 (bookworm) | htmldoc 1.9.15-1 (bookworm) |
| htmldoc_project | htmldoc | < 1.9.15 | 1.9.15 |
| 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 |
| michaelrsweet | htmldoc | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian7.5LOW
vendor_ubuntu7.5HIGH
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-f2rv-ggmm-f4p9: A heap buffer overflow in image_set_mask function of HTMLDOC before 1
ghsa_unreviewed·2022-11-14
CVE-2022-0137 [MEDIUM] CWE-787 GHSA-f2rv-ggmm-f4p9: A heap buffer overflow in image_set_mask function of HTMLDOC before 1
A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
OSV
CVE-2022-0137: A heap buffer overflow in image_set_mask function of HTMLDOC before 1
osv·2022-11-14·CVSS 5.5
CVE-2022-0137 [MEDIUM] CVE-2022-0137: A heap buffer overflow in image_set_mask function of HTMLDOC before 1
A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
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-0137: htmldoc - A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allow...
vendor_debian·2022·CVSS 7.5
CVE-2022-0137 [HIGH] CVE-2022-0137: htmldoc - A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allow...
A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
Scope: local
bookworm: resolved (fixed in 1.9.15-1)
bullseye: open
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.
2022-11-14
Published