CVE-2022-27114

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

Configuration 1 (hide)

cpe:2.3:a:htmldoc_project:htmldoc:1.9.16:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

History

21 Nov 2024, 06:55

Type Values Removed Values Added
References () https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 - Patch, Third Party Advisory () https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 - Patch, Third Party Advisory
References () https://github.com/michaelrsweet/htmldoc/issues/471 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/michaelrsweet/htmldoc/issues/471 - Exploit, Issue Tracking, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html - Mailing List, Third Party Advisory

Information

Published : 2022-05-09 17:15

Updated : 2024-11-21 06:55


NVD link : CVE-2022-27114

Mitre link : CVE-2022-27114

CVE.ORG link : CVE-2022-27114


JSON object : View

Products Affected

htmldoc_project

  • htmldoc

debian

  • debian_linux
CWE
CWE-190

Integer Overflow or Wraparound