Skip to main content
Public proof of conceptFix available

CVE-2021-43579

A public proof of concept exists; no exploitation attested.

  • Published2022-01-10
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-09-16Exploit-DB entryExploit-DB

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
Htmldoc project htmldoc
BranchAffectedFixed in
1.9≤ 1.9.13no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • htmldocUbuntu:Pro:20.04:LTSall versions · fixed in 1.9.7-1ubuntu0.3+esm1
  • htmldocUbuntu:Pro:18.04:LTSall versions · fixed in 1.9.2-1ubuntu0.2+esm1
  • htmldocUbuntu:Pro:16.04:LTSall versions · fixed in 1.8.27-8ubuntu1.1+esm2
  • htmldocUbuntu:Pro:14.04:LTSall versions · fixed in 1.8.27-8ubuntu1+esm3
  • htmldocSUSE:Subscription Management Tool 11 SP3all versions · fixed in 1.8.27-170.4.6.1
  • htmldocopenSUSE:Tumbleweedall versions · fixed in 1.9.14-1.1
  • htmldocMageia:8all versions · fixed in 1.9.14-1.mga8
  • htmldocDebian:14all versions · fixed in 1.9.13-1

3 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-43579 Red Hat Product Security

    htmldoc: stack-based buffer overflow in image_load_bmp() in htmldoc/image.cxx

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-12-04 04:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-52425
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2022-01-10
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-999x-mjp8-5gfp

Frequently asked questions

What is 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 document linking to a crafted BMP file.

Is CVE-2021-43579 actively exploited?

Active exploitation of CVE-2021-43579 has not been confirmed. Its EPSS score was 7.3% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-43579?

CVE-2021-43579 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running htmldoc? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record