CVE-2017-14103: GraphicsMagick - Use After Free
- Cve: CVE-2017-14103
- Name: GraphicsMagick - Use After Free
- 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.
- Impact: Remote attackers can execute arbitrary code or cause application crashes by exploiting use-after-free vulnerabilities.
- Remediation: Update to the latest version of GraphicsMagick where this issue is fixed, or apply the security patches provided by the vendor.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.30248
- Epss percentile: 0.98265
- Assignee: [email protected]
- Published at: 2017-09-01T13:29:00Z
- Age in days: 3371
- Modified at: 2026-06-17T01:05:35Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-14103
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
References
| Url | Source | Tags |
|---|---|---|
| http://hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51f | nvd | Issue 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/ | nvd | Patch, Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| graphicsmagick:graphicsmagick | = 1.3.26 | no | nvd | /v1/products/graphicsmagick/graphicsmagick |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts