Integer overflow in Htmldoc Project
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.010 (60.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 60.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.010 · change: +0.000
Affected products
- Htmldoc Project — versions 1.9.16
- Debian Linux — versions 9.0
Weakness classification (CWE)
References
- github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 (Patch, Third Party Advisory)
- github.com/michaelrsweet/htmldoc/issues/471 (Exploit, Third Party Advisory, Issue Tracking)
- lists.debian.org/debian-lts-announce/2022/05/msg00014.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-27114?
- CVE-2022-27114 is a medium-severity vulnerability in Htmldoc Project, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2022-05-09.
- How severe is CVE-2022-27114?
- Medium severity. CVSS v3 base score is 5.5 out of 10.