CVE-2022-27114

medium

Description

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

https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html

https://github.com/michaelrsweet/htmldoc/issues/471

https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275

Details

Source: Mitre, NVD

Published: 2022-05-09

Updated: 2022-05-17

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium