CVE-2021-23206 Memory corruption in htmldoc

High 7.8 Published Updated

A stack buffer overflow in htmldoc allows attackers to execute arbitrary code or cause 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-23206?

CVE-2021-23206 is a high-severity memory corruption vulnerability in htmldoc, published on 2 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 and prior. A stack buffer overflow in parse_table() in ps-pdf.cxx may lead to execute arbitrary code and denial of service.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2021-23206?

It affects 1 product.

Products include Htmldoc Project Htmldoc.

How do I fix CVE-2021-23206?

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-23206 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-23206, GHSA-h5p5-cjw3-9266, UBUNTU-CVE-2021-23206.

Is CVE-2021-23206 in your software?

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

Check your SBOMs for free