CVE-2022-27114
published 2022-05-09CVE-2022-27114: There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to…
PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.91%
55.4th percentile
There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to cause an integer overflow. So, the malloc function may return a heap blosmaller than the expected size, and it will cause a buffer overflow/Address boundary error in the jpeg_read_scanlines function.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | htmldoc | < htmldoc 1.9.15-2 (bookworm) | htmldoc 1.9.15-2 (bookworm) |
| htmldoc_project | htmldoc | — | — |
| htmldoc_project | htmldoc | >= 0 < 1.9.11-4+deb11u3 | 1.9.11-4+deb11u3 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-2 | 1.9.15-2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-2 | 1.9.15-2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-2 | 1.9.15-2 |
| 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.5MEDIUM
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-2ff5-43qf-52rc: There is a vulnerability in htmldoc 1
ghsa_unreviewed·2022-05-10
CVE-2022-27114 [MEDIUM] CWE-190 GHSA-2ff5-43qf-52rc: There is a vulnerability in htmldoc 1
There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to cause an integer overflow. So, the malloc function may return a heap blosmaller than the expected size, and it will cause a buffer overflow/Address boundary error in the jpeg_read_scanlines function.
OSV
CVE-2022-27114: There is a vulnerability in htmldoc 1
osv·2022-05-09·CVSS 5.5
CVE-2022-27114 [MEDIUM] CVE-2022-27114: There is a vulnerability in htmldoc 1
There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to cause an integer overflow. So, the malloc function may return a heap blosmaller than the expected size, and it will cause a buffer overflow/Address boundary error in the jpeg_read_scanlines function.
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-27114: htmldoc - There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cx...
vendor_debian·2022·CVSS 5.5
CVE-2022-27114 [MEDIUM] CVE-2022-27114: htmldoc - There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cx...
There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to cause an integer overflow. So, the malloc function may return a heap blosmaller than the expected size, and it will cause a buffer overflow/Address boundary error in the jpeg_read_scanlines function.
Scope: local
bookworm: resolved (fixed in 1.9.15-2)
bullseye: resolved (fixed in 1.9.11-4+deb11u3)
forky: resolved (fixed in 1.9.15-2)
sid: resolved (fixed in 1.9.15-2)
trixie: resolved (fixed in 1.9.15-2)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275https://github.com/michaelrsweet/htmldoc/issues/471https://lists.debian.org/debian-lts-announce/2022/05/msg00014.htmlhttps://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275https://github.com/michaelrsweet/htmldoc/issues/471https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html
2022-05-09
Published