CVEvulnerability
CVE-2022-27114
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-05-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-190
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.
Affected configurations
• htmldoc project htmldoc 1.9.16
• debian debian linux 9.0
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 Patch, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/471 Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html Mailing List, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275 Patch, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/471 Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html Mailing List, Third Party Advisory