Skip to content
OpenAdvisories
Unscored Public exploit CVE-2021-43579 EUVD-2021-30494GHSA-999x-mjp8-5gfp

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 docu…

Published Nov 12, 2021 · Updated Aug 4, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 htmldoc 1.9.13-1 —
Debian 13 htmldoc 1.9.13-1 —
Debian 12 htmldoc 1.9.13-1 —
Debian 9 htmldoc 1.8.27-8+deb9u2 DLA-2928-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS htmldoc 1.9.7-1ubuntu0.3+esm1 USN-7189-1
Ubuntu Pro 18.04 LTS htmldoc 1.9.2-1ubuntu0.2+esm1 USN-7189-1
Ubuntu Pro 16.04 LTS htmldoc 1.8.27-8ubuntu1.1+esm2 USN-7189-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS htmldoc 1.8.27-8ubuntu1+esm3 USN-7189-1
ReleasePackageFixed inAdvisory
SUSE Subscription Management Tool 11 SP3 htmldoc 1.8.27-170.4.6.1 SUSE-SU-2022:14877-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed htmldoc 1.9.14-1.1 openSUSE-SU-2024:11741-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References