A heap buffer overflow in imagesetmask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "htmldoc/image.cxx"
},
"signature_version": "v1",
"source": "https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b",
"digest": {
"line_hashes": [
"297472981316507945839698675243757011004",
"295268479066187838981750786933877699106",
"180283088309811897946039373889332944095",
"49970225574026909264440847956427795",
"162774849934666592158944790360900615107",
"88962972294982122508466774206613362823",
"7171333243352453904152759386472981638",
"51235282975610117606622240123798757686",
"128143176622412102198312061576007995858",
"234151772096908441394105233358954655232",
"322032723577332973482566653982131773070",
"338988096033338076431520303229355448142",
"327754122936077237617782704663087344531",
"22440375215000570540409524770429470750",
"249671219425354352373369169634643158321"
],
"threshold": 0.9
},
"id": "CVE-2022-0137-8d187efe"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "htmldoc/image.cxx",
"function": "image_load_gif"
},
"signature_version": "v1",
"source": "https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b",
"digest": {
"length": 1959.0,
"function_hash": "338219982382261317122099606761924980092"
},
"id": "CVE-2022-0137-9d651ef5"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "htmldoc/image.cxx",
"function": "image_set_mask"
},
"signature_version": "v1",
"source": "https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b",
"digest": {
"length": 1034.0,
"function_hash": "105585053437073363818563317706400233635"
},
"id": "CVE-2022-0137-caf470eb"
}
]