CVE-2022-27114

MEDIUM
Published May 9, 20224y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published May 9, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-190 Integer Overflow or Wraparound Numeric Error

Affected Products 2

VendorProductVersionRange
htmldoc_projecthtmldoc1.9.16any
debiandebian_linux9.0any

References 3

  • github.com https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275
    PatchThird Party Advisory
  • github.com https://github.com/michaelrsweet/htmldoc/issues/471
    ExploitIssue TrackingThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html
    Mailing ListThird Party Advisory

Remediation

  • github.com https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275
    PatchThird Party Advisory