Skip to content
OpenAdvisories
Unscored CVE-2022-27114 EUVD-2022-31653GHSA-2ff5-43qf-52rc

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 …

Published May 9, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 htmldoc 1.9.15-2 —
Debian 13 htmldoc 1.9.15-2 —
Debian 12 htmldoc 1.9.15-2 —
Debian 9 htmldoc 1.8.27-8+deb9u3 DLA-3004-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS htmldoc 1.9.17-1ubuntu0.1~esm1 USN-7225-1
Ubuntu Pro 22.04 LTS htmldoc 1.9.15-1ubuntu0.1~esm1 USN-7225-1
Ubuntu Pro 20.04 LTS htmldoc 1.9.7-1ubuntu0.3+esm2 USN-7225-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS htmldoc 1.9.2-1ubuntu0.2+esm2 USN-7225-1
Ubuntu Pro 16.04 LTS htmldoc 1.8.27-8ubuntu1.1+esm3 USN-7225-1
Ubuntu Pro 14.04 LTS htmldoc 1.8.27-8ubuntu1+esm4 USN-7225-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed htmldoc 1.9.15-3.1 openSUSE-SU-2024:12071-1

Advisories 3

References