First published: Wed Nov 03 2021(Updated: )
A stack-based buffer under-read in htmldoc before 1.9.12, allows attackers to cause a denial of service via a crafted BMP image to image_load_bmp.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Htmldoc Project Htmldoc | <1.9.12 | |
Debian Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-40985 is a vulnerability in htmldoc before version 1.9.12 that allows attackers to cause a denial of service via a crafted BMP image.
The severity of CVE-2021-40985 is medium, with a CVSS score of 5.5.
The Htmldoc software version up to exclusive version 1.9.12 and Debian Linux version 9.0 are affected by CVE-2021-40985.
An attacker can exploit CVE-2021-40985 by sending a crafted BMP image to the 'image_load_bmp' function in htmldoc, causing a stack-based buffer under-read and resulting in a denial of service.
Yes, you can refer to the following links for more information on CVE-2021-40985: [GitHub commit](https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43), [GitHub issue](https://github.com/michaelrsweet/htmldoc/issues/444), [Debian advisory](https://lists.debian.org/debian-lts-announce/2022/02/msg00022.html).