CVE-2021-40985
MEDIUMCVSS 5.5/10EPSS 0.87%
Last modified
CVE-2021-40985 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.87% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Htmldoc Project | Htmldoc | < 1.9.12 |
| Debian | Debian Linux | 9.0 |
References
- https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43Patch, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/444Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00022.htmlMailing List, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43Patch, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/444Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00022.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40985?
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.
How severe is CVE-2021-40985?
CVE-2021-40985 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.87% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40985?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40972Cross-site scripting (XSS) vulnerability in templates/instal…6.1
- CVE-2021-40973Cross-site scripting (XSS) vulnerability in templates/instal…6.1
- CVE-2021-40975Cross-site scripting (XSS) vulnerability in application/modu…6.1
- CVE-2021-40978The mkdocs 1.2.2 built-in dev-server allows directory traver…7.5
- CVE-2021-4098Insufficient data validation in Mojo in Google Chrome prior …7.4
- CVE-2021-40981ASUS ROG Armoury Crate Lite before 4.2.10 allows local users…7.3
- CVE-2021-40986A remote arbitrary command execution vulnerability was disco…7.2
- CVE-2021-40987A remote arbitrary command execution vulnerability was disco…7.2
- CVE-2021-40988A remote directory traversal vulnerability was discovered in…7.2
- CVE-2021-40989A local escalation of privilege vulnerability was discovered…7.8
- CVE-2021-4099Use after free in Swiftshader in Google Chrome prior to 96.0…8.8
- CVE-2021-40990A remote disclosure of sensitive information vulnerability w…6.5
Are you affected by CVE-2021-40985?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
