HOMEVULNERABILITIESCVE-2021-43579
HIGHPOC

CVE-2021-43579

CWE-787Published: January 10, 2022· Updated: Jun 17, 2026

7.8
CVSS v3.1

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

NVD Source

Technical Analysis

CVE-2021-43579 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

A proof-of-concept (PoC) exploit exists for CVE-2021-43579. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Vendors & Products

Debian1 product(s)
debian linux
htmldoc_project1 product(s)
htmldoc
Source: NVD CPE · 2 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (10)

https://github.com/michaelrsweet/htmldoc/issues/453Exploit · Issue Tracking · Patch · Third Party Advisory
https://github.com/michaelrsweet/htmldoc/issues/456Exploit · Issue Tracking · Patch · Third Party Advisory
https://github.com/michaelrsweet/htmldoc/issues/453Exploit · Issue Tracking · Patch · Third Party Advisory
https://github.com/michaelrsweet/htmldoc/issues/456Exploit · Issue Tracking · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2021-43579
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-787
CISA KEVNo
ExploitPOC
Affected2 vendor(s)
PublishedJan 10, 2022

Related CVEs (CWE-787)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-43579 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.