CVE-2022-27114

htmldoc: There is a vulnerability in htmldoc 1.9.16

CVE-2022-27114 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2022-27114, released May 9, 2022. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0096
61st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
htmldoc · Debian 12.15 (bookworm) 1.9.15-2 DEBIAN-CVE-2022-27114 May 9, 2022
htmldoc · Debian 13.5 (trixie) 1.9.15-2 DEBIAN-CVE-2022-27114 May 9, 2022
htmldoc · Debian 14 1.9.15-2 DEBIAN-CVE-2022-27114 May 9, 2022
htmldoc · Ubuntu 18.04.6 LTS (bionic) 1.9.2-1ubuntu0.2+esm2 htmldoc 1.9.2-1ubuntu0.2+esm2 Oct 24, 2024
htmldoc · Ubuntu 20.04 LTS (focal) 1.9.7-1ubuntu0.3+esm2 htmldoc 1.9.7-1ubuntu0.3+esm2 Oct 24, 2024
htmldoc · Ubuntu 22.04.1 LTS (jammy) 1.9.15-1ubuntu0.1~esm1 htmldoc 1.9.15-1ubuntu0.1~esm1 Oct 24, 2024
htmldoc-common · Ubuntu 18.04.6 LTS (bionic) 1.9.2-1ubuntu0.2+esm2 htmldoc-common 1.9.2-1ubuntu0.2+esm2 Oct 24, 2024
htmldoc-common · Ubuntu 20.04 LTS (focal) 1.9.7-1ubuntu0.3+esm2 htmldoc-common 1.9.7-1ubuntu0.3+esm2 Oct 24, 2024
htmldoc-common · Ubuntu 22.04.1 LTS (jammy) 1.9.15-1ubuntu0.1~esm1 htmldoc-common 1.9.15-1ubuntu0.1~esm1 Oct 24, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.