cbcvebase.
CVE-2022-27114
published 2022-05-09

CVE-2022-27114: 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…

PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.91%
55.4th 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.

Affected

13 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianhtmldoc< htmldoc 1.9.15-2 (bookworm)htmldoc 1.9.15-2 (bookworm)
htmldoc_projecthtmldoc
htmldoc_projecthtmldoc>= 0 < 1.9.11-4+deb11u31.9.11-4+deb11u3
htmldoc_projecthtmldoc>= 0 < 1.9.15-21.9.15-2
htmldoc_projecthtmldoc>= 0 < 1.9.15-21.9.15-2
htmldoc_projecthtmldoc>= 0 < 1.9.15-21.9.15-2
htmldoc_projecthtmldoc>= 0 < 1.8.27-8ubuntu1+esm41.8.27-8ubuntu1+esm4
htmldoc_projecthtmldoc>= 0 < 1.8.27-8ubuntu1.1+esm31.8.27-8ubuntu1.1+esm3
htmldoc_projecthtmldoc>= 0 < 1.9.2-1ubuntu0.2+esm21.9.2-1ubuntu0.2+esm2
htmldoc_projecthtmldoc>= 0 < 1.9.7-1ubuntu0.3+esm21.9.7-1ubuntu0.3+esm2
htmldoc_projecthtmldoc>= 0 < 1.9.15-1ubuntu0.1~esm11.9.15-1ubuntu0.1~esm1
htmldoc_projecthtmldoc>= 0 < 1.9.17-1ubuntu0.1~esm11.9.17-1ubuntu0.1~esm1

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_ubuntu7.5HIGH
vendor_debian5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.