CVE
CVE-2021-40985
publishedhtmldoc: buffer overflow may lead to DoS via a crafted BMP image
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | htmldoc | Advisory build | 1.8.27-8+deb9u2 | DLA-2928-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocaarch64 | Advisory build | 1.9.12-2.1 | OPENSUSE-SU-2024:11611-1 |
| Ubuntu | bionic | htmldoc | Advisory build | 1.9.2-1ubuntu0.2+esm1 | USN-7189-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocppc64le | Advisory build | 1.9.12-2.1 | OPENSUSE-SU-2024:11611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocs390x | Advisory build | 1.9.12-2.1 | OPENSUSE-SU-2024:11611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocx86_64 | Advisory build | 1.9.12-2.1 | OPENSUSE-SU-2024:11611-1 |
| Ubuntu | bionic | htmldoc-common | Advisory build | 1.9.2-1ubuntu0.2+esm1 | USN-7189-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | htmldoc | Advisory build | 1.9.7-1ubuntu0.3+esm1 | USN-7189-1 |
| Ubuntu | focal | htmldoc-common | Advisory build | 1.9.7-1ubuntu0.3+esm1 | USN-7189-1 |
| Ubuntu | trusty | htmldoc | Advisory build | 1.8.27-8ubuntu1+esm3 | USN-7189-1 |
| Ubuntu | trusty | htmldoc-common | Advisory build | 1.8.27-8ubuntu1+esm3 | USN-7189-1 |
| Ubuntu | xenial | htmldoc | Advisory build | 1.8.27-8ubuntu1.1+esm2 | USN-7189-1 |
| Ubuntu | xenial | htmldoc-common | Advisory build | 1.8.27-8ubuntu1.1+esm2 | USN-7189-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43
- https://github.com/michaelrsweet/htmldoc/issues/444
- [debian-lts-announce] 20220226 [SECURITY] [DLA 2928-1] htmldoc security update https://lists.debian.org/debian-lts-announce/2022/02/msg00022.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bb1d9ecd0de5706adcab2e101779ef033c865935803ae8a35650d46f519f075b
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record