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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27114.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:htmldoc_project:htmldoc:1.9.16:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.16"
},
{
"last_affected": "1.9.16"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "31f780487e5ddc426888638786cdc47631687275"
}
],
"source": "REFERENCES_COMMIT"
}
]
}