CVE-2021-26252 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-26252?
CVE-2021-26252 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 24 Feb 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 pspdf_prepare_page(),in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
Weakness: CWE-787
Which versions are affected by CVE-2021-26252?
It affects 3 products.
Products include Fedoraproject Fedora, Htmldoc Project Htmldoc, Redhat Enterprise Linux.
How do I fix CVE-2021-26252?
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-26252 being exploited?
There is no known exploitation of CVE-2021-26252 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-26252, GHSA-xfrq-7xgg-w3v5, UBUNTU-CVE-2021-26252.