# CVE-2021-43579: A stack-based buffer overflow in imageloadbmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim converts an HTML docume…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.35%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-11-12T17:49:37.000Z
- Modified: 2026-06-17T04:11:10.260Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim converts an HTML document linking to a crafted BMP file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- htmldoc_project htmldoc: up to 1.9.13
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/michaelrsweet/htmldoc/issues/453> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/michaelrsweet/htmldoc/issues/456> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b> (patch, third-party-advisory)
- <https://github.com/michaelrsweet/htmldoc/compare/v1.9.12...v1.9.13> (release-notes, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/02/msg00022.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-43579](https://www.cve.org/CVERecord?id=CVE-2021-43579), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-43579](https://nvd.nist.gov/vuln/detail/CVE-2021-43579), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43579 · Whole record: https://cve.day/CVE-2021-43579.json · Rebuilt by cve.day 2026-11-25T22:24:36.464Z
