{"id":"CVE-2017-16546","published":"2017-11-05T22:00:00Z","modified":"2024-08-05T20:27:03Z","title":"The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a…","vendor":null,"product":null,"tier":"tail","description":{"text":"The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a WPG palette, which allows remote attackers to cause a denial of service (use of uninitialized data or invalid memory allocation) or possibly have unspecified other impact via a malformed WPG file.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02201,"percentile":0.82821,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.debian.org/security/2017/dsa-4040","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/3681-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2017/dsa-4074","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://github.com/ImageMagick/ImageMagick/issues/851","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":16.56}]},"euvd":{"id":"EUVD-2017-7739","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-5688-family-cve-2016-5688","parents":[{"from":"CVE-2016-5688","to":"CVE-2017-16546","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/wpg.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f","https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7","https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816","https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53"],"basis":"shared function","functions":["ReadWPGImage"]}]},{"from":"CVE-2016-7533","to":"CVE-2017-16546","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/wpg.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/bef1e4f637d8f665bc133a9c6d30df08d983bc3a","https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816","https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53"],"basis":"shared function","functions":["ReadWPGImage"]}]},{"from":"CVE-2016-7526","to":"CVE-2017-16546","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/wpg.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/b6ae2f9e0ab13343c0281732d479757a8e8979c7","https://github.com/ImageMagick/ImageMagick/commit/d9b2209a69ee90d8df81fb124eb66f593eb9f599","https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816","https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53"],"basis":"shared function","functions":["ReadWPGImage"]}]},{"from":"CVE-2017-14341","to":"CVE-2017-16546","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/wpg.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/7d63315a64267c565d1f34b9cb523a14616fed24","https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816","https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53"],"basis":"shared function","functions":["ReadWPGImage"]}]}]}}