{"id":"CVE-2021-43579","published":"2021-11-12T17:49:37Z","modified":"2024-08-04T04:03:08Z","title":"A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07349,"percentile":0.94541,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/453","tags":["x_refsource_MISC"]},{"url":"https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b","tags":["x_refsource_MISC"]},{"url":"https://github.com/michaelrsweet/htmldoc/compare/v1.9.12...v1.9.13","tags":["x_refsource_MISC"]},{"url":"https://github.com/michaelrsweet/htmldoc/issues/456","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00022.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":18.91},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-09-16"},"first":{"date":"2025-09-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52425"},"provenance":"source"},"summary":{"text":"A stack-based buffer overflow in the image_load_bmp() function of HTMLDOC, affecting versions up to and including 1.9.13, lives in the component that handles BMP image loading. An attacker can achieve remote code execution by crafting a BMP file that is linked from an HTML document, but only if the victim converts that document with HTMLDOC, so user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:09Z"},"euvd":{"id":"EUVD-2021-30494","exploited":false,"provenance":"source"},"exploits":[{"id":52425,"url":"https://www.exploit-db.com/exploits/52425","title":"HTMLDOC 1.9.13 - Stack Buffer Overflow","date":"2025-09-16","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-michaelrsweet-htmldoc-cve-2021-40985","parents":[{"from":"CVE-2021-40985","to":"CVE-2021-43579","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43","https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b"],"basis":"shared function","functions":["image_load_bmp"]}]}],"children":[{"from":"CVE-2021-43579","to":"CVE-2022-27114","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_bmp"]}]}]}}