The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, which allows remote attackers to cause a denial of service via a crafted image file.
{ "vanir_signatures": [ { "id": "CVE-2018-16643-12720e63", "target": { "file": "coders/cals.c", "function": "ReadCALSImage" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "151821552892915741770173898003066722704", "length": 2784.0 } }, { "id": "CVE-2018-16643-35e61409", "target": { "file": "coders/pwp.c" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "187533512943857346308346778587421428526", "231920950740378249818910821841393386793", "189095931184415899638832339113382182696", "130223367870871285664262177353501464854" ], "threshold": 0.9 } }, { "id": "CVE-2018-16643-44e94d95", "target": { "file": "coders/pict.c", "function": "ReadPICTImage" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "203070077634815224829465299352887414190", "length": 15924.0 } }, { "id": "CVE-2018-16643-50cd2b18", "target": { "file": "coders/cals.c" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "10110501647741398902524607502901130633", "236759063174542429855447567423183366300", "163786612835840933850059127572924549249", "183097169735099011941040536475853576911" ], "threshold": 0.9 } }, { "id": "CVE-2018-16643-937028a5", "target": { "file": "coders/pwp.c", "function": "ReadPWPImage" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "39804774322586891601766100662503627903", "length": 3644.0 } }, { "id": "CVE-2018-16643-be4e267d", "target": { "file": "coders/dcm.c", "function": "ReadDCMImage" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "261599115229418059521409716770718207903", "length": 27570.0 } }, { "id": "CVE-2018-16643-d579aed0", "target": { "file": "coders/dcm.c" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "253301786758302436653254016906963793774", "137873803676235522753668915003569008703", "189766374457722655839155578208854704496", "193869383204492240367463169495217187234", "39857028589974231118589688254169858637", "194895140565744107345321645471789901156", "287552287390240115288847990630583350375", "334331858103254438590899789618930688375", "207071924030769842771473903323956025228", "271583124863480110105028350825803226524", "19363552495892662592930719613345772816", "301481943347378010357468641588504728513", "177227375233463829190662212773628464633", "130223367870871285664262177353501464854", "245642162127522678580172602418137411276", "6558087767129097902083456721076762767", "177759960853892708963081058335874578207", "334065183752715418393280304446773169191" ], "threshold": 0.9 } }, { "id": "CVE-2018-16643-da9cdb50", "target": { "file": "coders/pict.c" }, "source": "https://github.com/imagemagick/imagemagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c", "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "149465407627715467110335476937850666663", "231920950740378249818910821841393386793", "102154160121461609014101208257639932622", "239996784553475754507201816640268921186" ], "threshold": 0.9 } } ] }