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

17 May 2022, 16:33

Type Values Removed Values Added
CWE CWE-190
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 5.5
CPE cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:a:htmldoc_project:htmldoc:1.9.16:*:*:*:*:*:*:*
References (MISC) https://github.com/michaelrsweet/htmldoc/issues/471 - (MISC) https://github.com/michaelrsweet/htmldoc/issues/471 - Exploit, Issue Tracking, 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
References (MISC) https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 - (MISC) https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 - Patch, Third Party Advisory

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 : 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

debian

  • debian_linux

htmldoc_project

  • htmldoc
CWE
CWE-190

Integer Overflow or Wraparound