CVE-2017-12935

MEDIUM

Description

The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.

References

http://hg.code.sf.net/p/graphicsmagick/code/rev/cd699a44f188

https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-invalid-memory-read-in-setimagecolorcallback-image-c/

https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html

https://www.debian.org/security/2018/dsa-4321

Details

Source: MITRE

Published: 2017-08-18

Updated: 2019-03-11

Type: CWE-125

Risk Information

CVSS v2.0

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3.0

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 2.8

Severity: HIGH