Integer Overflow Vulnerability in htmldoc 1.9.16's image_load_jpeg Function

Integer Overflow Vulnerability in htmldoc 1.9.16's image_load_jpeg Function

CVE-2022-27114 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.