CWE
125
Advisory Published
Updated

CVE-2021-40985

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 SoftwareAffected VersionHow to fix
Htmldoc Project Htmldoc<1.9.12
Debian Debian Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-40985?

    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.

  • What is the severity of CVE-2021-40985?

    The severity of CVE-2021-40985 is medium, with a CVSS score of 5.5.

  • What software is affected by CVE-2021-40985?

    The Htmldoc software version up to exclusive version 1.9.12 and Debian Linux version 9.0 are affected by CVE-2021-40985.

  • How can an attacker exploit 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.

  • Are there any references for CVE-2021-40985?

    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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203