CVE-2021-43579 Memory corruption in n/a

High 7.8 Published Updated

A stack-based buffer overflow in HTMLDOC allows remote code execution when a user converts an HTML document linking to a malicious BMP file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-43579?

CVE-2021-43579 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 12 Nov 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-787

Which versions are affected by CVE-2021-43579?

It affects 2 products.

Linux distribution packages (2)
htmldoc SUSE:Subscription Management Tool 11 SP3All versions1.8.27-170.4.6.1
htmldoc openSUSE:TumbleweedAll versions1.9.14-1.1

Products include Debian Debian Linux, Htmldoc Project Htmldoc.

How do I fix CVE-2021-43579?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-43579 being exploited?

There is no known exploitation of CVE-2021-43579 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-43579, GHSA-999x-mjp8-5gfp, MGASA-2022-0033, SUSE-SU-2022:14877-1, UBUNTU-CVE-2021-43579, openSUSE-SU-2024:11741-1.

Is CVE-2021-43579 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free