{"id":"CVE-2022-27114","aliases":["CVE-2022-27114"],"related":[],"kind":"vulnerability","state":"published","title":"There is a vulnerability in htmldoc 1.9.16.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se presenta una vulnerabilidad en htmldoc versión 1.9.16. En la función image_load_jpeg image.cxx cuando llama a malloc,\"img-)width\" e \"img-)height\" son lo suficientemente grandes como para causar un desbordamiento de enteros. Así, la función malloc puede devolver un blosmaller de pila más grande que el tamaño esperado, y causará un desbordamiento de búfer/error de límite de dirección en la función jpeg_read_scanlines","source":"nvd"}],"published":"2022-05-09T16:52:39.000Z","modified":"2026-06-17T04:36:22.620Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"1.9.16"}],"vendor":"htmldoc_project","product":"htmldoc","cpe":"cpe:2.3:a:htmldoc_project:htmldoc:1.9.16:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/michaelrsweet/htmldoc/issues/471","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-27114","url":"https://www.cve.org/CVERecord?id=CVE-2022-27114","licence":"CVE Terms of Use","modified":"2024-08-03T05:18:39.346Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-27114","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27114","licence":"Public domain","modified":"2026-06-17T04:36:22.620Z"}],"updatedAt":"2026-11-25T22:58:11.516Z","epss":{"score":0.00963,"percentile":0.62662,"date":"2026-12-01T12:00:22.000Z"}}