Name | CVE-2017-14103 |
Description | The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain error conditions, which allows remote attackers to conduct use-after-free attacks via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-11403. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DLA-1130-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
graphicsmagick (PTS) | buster | 1.4+really1.3.35-1~deb10u2 | fixed |
buster (security) | 1.4+really1.3.35-1~deb10u1 | fixed | |
bullseye | 1.4+really1.3.36+hg16481-2 | fixed | |
bookworm, sid | 1.4+really1.3.38-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
graphicsmagick | source | wheezy | 1.3.16-1.1+deb7u10 | DLA-1130-1 | ||
graphicsmagick | source | jessie | (not affected) | |||
graphicsmagick | source | stretch | (not affected) | |||
graphicsmagick | source | (unstable) | 1.3.26-8 |
[stretch] - graphicsmagick <not-affected> (Incomplete fix for CVE-2017-11403 not applied)
[jessie] - graphicsmagick <not-affected> (Incomplete fix for CVE-2017-11403 not applied)
Fixed by: http://hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51f
https://www.openwall.com/lists/oss-security/2017/09/01/6
https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/