The MagickRealloc function in memory.c in Graphicsmagick 1.3.25 allows remote attackers to cause a denial of service (crash) via large dimensions in a jpeg image.
https://blogs.gentoo.org/ago/2016/12/01/graphicsmagick-memory-allocation-failure-in-magickrealloc-memory-c
http://www.securityfocus.com/bid/94625
http://www.openwall.com/lists/oss-security/2016/12/05/5
http://www.debian.org/security/2016/dsa-3746
http://lists.opensuse.org/opensuse-updates/2016-12/msg00141.html
http://hg.code.sf.net/p/graphicsmagick/code/rev/38d0f281e8c8
https://bugzilla.redhat.com/show_bug.cgi?id=1401536
Source: Mitre, NVD
Published: 2017-03-01
Updated: 2025-04-20
Base Score: 4.3
Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 5.5
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS: 0.00598