Use After Free in Graphicsmagick
CVE-2017-14103
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.302, 98.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Graphicsmagick — versions 1.3.26
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51f (Patch, Third Party Advisory, Issue Tracking)
- blogs.gentoo.org/ago/2017/09/01/graphicsmagick-use-after-free-in-closeblob-blob… (Patch, VDB Entry, Third Party Advisory)