CVE-2017-14103

NameCVE-2017-14103
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1130-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)bullseye (security), bullseye1.4+really1.3.36+hg16481-2+deb11u1fixed
bookworm1.4+really1.3.40-4fixed
sid, trixie1.4+really1.3.45-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksourcewheezy1.3.16-1.1+deb7u10DLA-1130-1
graphicsmagicksourcejessie(not affected)
graphicsmagicksourcestretch(not affected)
graphicsmagicksource(unstable)1.3.26-8

Notes

[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/

Search for package or bug name: Reporting problems