Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Htmldoc Project | Htmldoc | 1.9.16 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc476PatchThird Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/471ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.htmlMailing ListThird Party Advisory
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc476PatchThird Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/471ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2022-27114?
CVE-2022-27114 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2022-27114?
CVE-2022-27114 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-27114?
Check the references section above for vendor advisories and patch information. Affected products include: Htmldoc Project Htmldoc, Debian Debian Linux.