Description
The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.
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/d0a76868ca37Issue Tracking, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/Patch, Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
- https://usn.ubuntu.com/4206-1/
- https://www.debian.org/security/2018/dsa-4321
- http://hg.code.sf.net/p/graphicsmagick/code/rev/d0a76868ca37Issue Tracking, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/Patch, Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html
- https://usn.ubuntu.com/4206-1/
- https://www.debian.org/security/2018/dsa-4321
Timeline
- Published
- Jul 18, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified