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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-05-09T16:52:39

Updated: 2024-08-03T05:18:39.346Z

Reserved: 2022-03-14T00:00:00

Link: CVE-2022-27114

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-05-09T17:15:09.130

Modified: 2024-11-21T06:55:10.707

Link: CVE-2022-27114

cve-icon Redhat

No data.