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

17 May 2022, 16:33

Type Values Removed Values Added
References (MISC) https://github.com/michaelrsweet/htmldoc/issues/471 - (MISC) https://github.com/michaelrsweet/htmldoc/issues/471 - Exploit, Issue Tracking, Third Party Advisory
References (MISC) https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 - (MISC) https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 - Patch, Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html - Mailing List, Third Party Advisory
First Time Debian debian Linux
Htmldoc Project
Htmldoc Project htmldoc
Debian
CPE cpe:2.3:a:htmldoc_project:htmldoc:1.9.16:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 5.5
CWE CWE-190

13 May 2022, 21:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html -

09 May 2022, 17:23

Type Values Removed Values Added
New CVE

Information

Published : 2022-05-09 17:15

Updated : 2023-12-10 14:22


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