CVE-2022-27114
MEDIUM
Published May 9, 20224y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
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
Exploitability
Impact
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
| Vendor | Product | Version | Range |
|---|---|---|---|
| htmldoc_project | htmldoc | 1.9.16 | any |
| debian | debian_linux | 9.0 | any |
References 3
- github.com https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275
- github.com https://github.com/michaelrsweet/htmldoc/issues/471
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html
Remediation
- github.com https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275