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 trend (30 days)EPSS over the last 30 days for CVE-2022-27114: held from 0.009 to 0.010.

EPSS over last 30 days · oldest: 0.009 · newest: 0.010 · change: +0.000

Affected products

Weakness classification (CWE)

References

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.