CVE-2022-27114 Integer overflow in n/a

Medium 5.5 Published Updated

Integer overflow in htmldoc's JPEG image loading leads to heap buffer overflow, potentially allowing code execution or denial of service.

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-2022-27114?

CVE-2022-27114 is a medium-severity vulnerability in Debian Debian Linux, published on 9 May 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

There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to cause an integer overflow. So, the malloc function may return a heap blosmaller than the expected size, and it will cause a buffer overflow/Address boundary error in the jpeg_read_scanlines function.

Weakness: CWE-190

Which versions are affected by CVE-2022-27114?

It affects 2 products.

Linux distribution packages (1)
htmldoc openSUSE:TumbleweedAll versions1.9.15-3.1

Products include Debian Debian Linux, Htmldoc Project Htmldoc.

How do I fix CVE-2022-27114?

Apply the vendor's patch.

Is CVE-2022-27114 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-27114, DLA-3004-1, GHSA-2ff5-43qf-52rc, MGASA-2022-0191, UBUNTU-CVE-2022-27114, openSUSE-SU-2024:12071-1.

Is CVE-2022-27114 in your software?

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

Check your SBOMs for free