Vulnerability · Published May 9, 2022 · Assigned by mitre
CVE-2022-27114
Medium 5.5
In plain English
A medium-severity security flaw in the htmldoc package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.0%top 38.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | htmldoc | 1.9.15-2 | DEBIAN-CVE-2022-27114 |
| Debian:13 | htmldoc | 1.9.15-2 | DEBIAN-CVE-2022-27114 |
| Debian:14 | htmldoc | 1.9.15-2 | DEBIAN-CVE-2022-27114 |
Affected products (as reported)
References
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 x_refsource_MISC
- https://github.com/michaelrsweet/htmldoc/issues/471 x_refsource_MISC
- [debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update mailing-list, x_refsource_MLIST