{"id":"CVE-2016-5688","state":"PUBLISHED","title":"The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetIm","description":"The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions.","publishedAt":"2016-12-13T15:00:00.000Z","updatedAt":"2024-08-06T01:07:59.968Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5","https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4","http://www.securityfocus.com/bid/91283","https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html","http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f","http://www.openwall.com/lists/oss-security/2016/06/17/3","https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7","http://www.openwall.com/lists/oss-security/2016/06/14/5"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:47.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/5xxx/CVE-2016-5688.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-5688","state":"PUBLISHED","datePublished":"2016-12-13T15:00:00.000Z","dateUpdated":"2024-08-06T01:07:59.968Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-06-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91283","name":"91283","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html","tags":["x_refsource_MISC"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/17/3","name":"[oss-security] 20160617 Re: Various invalid memory reads in ImageMagick (WPG, DDS, DCM)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/14/5","name":"[oss-security] 20160614 Various invalid memory reads in ImageMagick (WPG, DDS, DCM)","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2016-12-13T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-06-14T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-5688","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5","refsource":"CONFIRM","url":"https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5"},{"name":"https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4","refsource":"CONFIRM","url":"https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4"},{"name":"91283","refsource":"BID","url":"http://www.securityfocus.com/bid/91283"},{"name":"https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG,-DDS,-DCM.html","refsource":"MISC","url":"https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG,-DDS,-DCM.html"},{"name":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html"},{"name":"https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f","refsource":"CONFIRM","url":"https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f"},{"name":"[oss-security] 20160617 Re: Various invalid memory reads in ImageMagick (WPG, DDS, DCM)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/06/17/3"},{"name":"https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7","refsource":"CONFIRM","url":"https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7"},{"name":"[oss-security] 20160614 Various invalid memory reads in ImageMagick (WPG, DDS, DCM)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/06/14/5"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/91283","name":"91283","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/17/3","name":"[oss-security] 20160617 Re: Various invalid memory reads in ImageMagick (WPG, DDS, DCM)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/14/5","name":"[oss-security] 20160614 Various invalid memory reads in ImageMagick (WPG, DDS, DCM)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T01:07:59.968Z"}}]}}}