What’s Vulnerable › Vulnerabilities
CVE-2022-27114
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-09 · updated 2026-06-17
- Weakness: CWE-190
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 products
- Debian Linux: 9.0
- htmldoc: 1.9.16
References
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275
- https://github.com/michaelrsweet/htmldoc/issues/471
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275
- https://github.com/michaelrsweet/htmldoc/issues/471
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html
Get alerted when CVE-2022-27114 or the next vulnerability affects your stack