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.
References
Link | Resource |
---|---|
https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 | Patch Third Party Advisory |
https://github.com/michaelrsweet/htmldoc/issues/471 | Exploit Issue Tracking Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html | Mailing List Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-05-09T16:52:39
Updated: 2022-05-13T20:06:10
Reserved: 2022-03-14T00:00:00
Link: CVE-2022-27114
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-05-09T17:15:09.130
Modified: 2022-05-17T16:33:00.317
Link: CVE-2022-27114
JSON object: View
Redhat Information
No data.
CWE