CVE-2022-27114
mediumpriority · track · 22EPSS 0.010 · 62 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-27114/cnnvd
- https://github.com/michaelrsweet/htmldocPatchcnnvd
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275cnnvd
- https://github.com/michaelrsweet/htmldoc/issues/471cnnvd
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.htmlcnnvd
- https://vigilance.fr/vulnerability/htmldoc-integer-overflow-via-image-38369cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.2371cnnvd
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan