{"id":"CVE-2022-27114","published":"2022-05-09T16:52:39Z","modified":"2024-08-03T05:18:39Z","title":"There is a vulnerability in htmldoc 1.9.16","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0111,"percentile":0.65537,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275","tags":["x_refsource_MISC"]},{"url":"https://github.com/michaelrsweet/htmldoc/issues/471","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":13.11}]},"euvd":{"id":"EUVD-2022-31653","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-michaelrsweet-htmldoc-cve-2021-40985","parents":[{"from":"CVE-2021-40985","to":"CVE-2022-27114","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_bmp"]}]},{"from":"CVE-2021-43579","to":"CVE-2022-27114","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_bmp"]}]},{"from":"CVE-2021-23191","to":"CVE-2022-27114","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_gif"]}]},{"from":"CVE-2021-23158","to":"CVE-2022-27114","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_gif"]}]}],"children":[{"from":"CVE-2022-27114","to":"CVE-2022-0137","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_gif"]}]}]}}