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.
Metrics
CVSS 3.0 8.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51fIssue Tracking, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/09/01/graphicsmagick-use-after-free-in-closeblob-blob-c-incomplete-fix-for-cve-2017-11403/Patch, Third Party Advisory, VDB Entry
- http://hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51fIssue Tracking, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/09/01/graphicsmagick-use-after-free-in-closeblob-blob-c-incomplete-fix-for-cve-2017-11403/Patch, Third Party Advisory, VDB Entry
Timeline
- Published
- Sep 1, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified