CVE-2022-0137 Memory corruption in htmldoc

High 7.5 Published Updated

A heap buffer overflow in HTMLDOC allows attackers to write outside buffer boundaries, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-0137?

CVE-2022-0137 is a high-severity memory corruption vulnerability in michaelrsweet htmldoc, published on 14 Nov 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2022-0137?

It affects 1 product.

Products include Htmldoc Project Htmldoc.

How do I fix CVE-2022-0137?

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-2022-0137 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0137 exists.

Sources

Also known as DEBIAN-CVE-2022-0137, GHSA-f2rv-ggmm-f4p9, UBUNTU-CVE-2022-0137.

Is CVE-2022-0137 in your software?

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

Check your SBOMs for free