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 (7)
Core 7
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-invalid-memory-read-in-setimagecolorcallback-image-c/
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
http://hg.code.sf.net/p/graphicsmagick/code/rev/cd699a44f188
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2018/dsa-4321
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4222-1/
Scores
CVSS v3
8.8
EPSS
0.0046
EPSS Percentile
64.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-125
Status
published
Products (3)
debian/debian_linux
8.0
debian/debian_linux
9.0
graphicsmagick/graphicsmagick
1.3.26
Published
Aug 18, 2017
Tracked Since
Feb 18, 2026