CVE-2021-40985
mediumpriority · track · 22EPSS 0.009 · 61 %ileEUUSgrimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
0.94% (61st) EPSS
CVSS 4.3 · medium
Who says so?
3 sources
cnnvd · enisa_euvd · nvd
EPSS · scored 2026-10-28
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.
01
cvss
Technical severity, 0–10. One row per scoring source.
5.5
010
base score 0–10 · higher = more severe · hover a vector to decode
v3.15.5mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hprimary · NVD / NIST USexploitability 1.8 · impact 3.6
02
weaknesses
The CWE weakness classes this flaw belongs to.
03
affected products (3)
Products and version ranges known to be affected.
04
also known as (3)
Other names and identifiers for this entity.
05
sources
Which sources assert this record, and when.
07
references (13)
External citations — patches, advisories, analysis.
- https://github.com/michaelrsweet/htmldocPatchcnnvd
- https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43cnnvd
- https://github.com/michaelrsweet/htmldoc/issues/444cnnvd
- https://lists.debian.org/debian-lts-announce/2022/02/msg00022.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-40985cnnvd
- https://vigilance.fr/vulnerability/htmldoc-buffer-overflow-via-image-load-bmp-37600cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.0837cnnvd
- https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43enisa_euvd
scry
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan