All reports
Medium

UBUNTU-CVE-2022-27114

Affected versions

Affected versions
<1.8.27-8ubuntu1+esm4
Fixed version
1.8.27-8ubuntu1+esm4
Affected versions
<1.8.27-8ubuntu1.1+esm3
Fixed version
1.8.27-8ubuntu1.1+esm3
Affected versions
<1.9.2-1ubuntu0.2+esm2
Fixed version
1.9.2-1ubuntu0.2+esm2
Affected versions
<1.9.7-1ubuntu0.3+esm2
Fixed version
1.9.7-1ubuntu0.3+esm2
Affected versions
<1.9.15-1ubuntu0.1~esm1
Fixed version
1.9.15-1ubuntu0.1~esm1

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.

Links