The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://sourceforge.net/p/graphicsmagick/bugs/438/ | issue tracking exploit third party advisory |
https://lists.debian.org/debian-lts-announce/2018/03/msg00025.html | mailing list |
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/98721124e51f | patch |
https://www.debian.org/security/2018/dsa-4321 | vendor advisory |
http://www.securityfocus.com/bid/103276 | vdb entry third party advisory |
https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html | mailing list |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/ | vendor advisory |