CVE-2021-26259 Memory corruption in htmldoc
Heap buffer overflow in htmldoc allows arbitrary code execution and denial of service via crafted input.
- 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-26259?
CVE-2021-26259 is a high-severity memory corruption vulnerability in htmldoc, published on 3 Mar 2022. 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 flaw was found in htmldoc in v1.9.12. Heap buffer overflow in render_table_row(),in ps-pdf.cxx may lead to arbitrary code execution and denial of service.
Weakness: CWE-787
Which versions are affected by CVE-2021-26259?
It affects 1 product.
Products include Htmldoc Project Htmldoc.
How do I fix CVE-2021-26259?
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-26259 being exploited?
There is no known exploitation of CVE-2021-26259 in the wild and no public exploit code.
Other vulnerabilities in htmldoc
Sources
Also known as DEBIAN-CVE-2021-26259, GHSA-6v56-6f3p-gxhq, UBUNTU-CVE-2021-26259.