CVE-2021-40985 Memory corruption in n/a
Attackers can cause a denial of service in htmldoc by providing a crafted BMP image, triggering a stack-based buffer under-read.
- 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-40985?
CVE-2021-40985 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 3 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 under-read in htmldoc before 1.9.12, allows attackers to cause a denial of service via a crafted BMP image to image_load_bmp.
Weakness: CWE-125
Which versions are affected by CVE-2021-40985?
It affects 2 products.
Linux distribution packages (2)
htmldoc SUSE:Subscription Management Tool 11 SP3 | All versions | 1.8.27-170.4.3.1 |
htmldoc openSUSE:Tumbleweed | All versions | 1.9.12-2.1 |
Products include Debian Debian Linux, Htmldoc Project Htmldoc.
How do I fix CVE-2021-40985?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-40985 being exploited?
There is no known exploitation of CVE-2021-40985 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-40985, GHSA-vfx2-gpvv-rwcm, MGASA-2022-0014, SUSE-SU-2021:14869-1, UBUNTU-CVE-2021-40985, openSUSE-SU-2024:11611-1.