CVE-2019-13307: ImageMagick - Buffer Overflow
- Cve: CVE-2019-13307
- Name: ImageMagick - Buffer Overflow
- Description: ImageMagick 7.0.8-50 Q16 has a heap-based buffer overflow at MagickCore/statistic.c in EvaluateImages because of mishandling rows.
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to the latest version of ImageMagick where the vulnerability is fixed.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02082
- Epss percentile: 0.82028
- Assignee: [email protected]
- Published at: 2019-07-05T01:15:10Z
- Age in days: 2699
- Modified at: 2026-06-17T02:16:31Z
- Patch available: yes
- Public exploits total: 1
- References total: 7
- Products total: 4
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-13307
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ImageMagick/ImageMagick/issues/1615 | nvd | 2019-07-05 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/ImageMagick/ImageMagick/commit/025e77fcb2f45b21689931ba3bf74eac153afa48 | Patch |
| https://github.com/ImageMagick/ImageMagick6/commit/91e58d967a92250439ede038ccfb0913a81e59fe | Patch |
| https://github.com/ImageMagick/ImageMagick/issues/1615 | Exploit, Issue Tracking, Patch, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html | Mailing List, Third Party Advisory |
| https://usn.ubuntu.com/4192-1/ | Third Party Advisory |
| https://www.debian.org/security/2020/dsa-4712 | Third Party Advisory |
| https://www.debian.org/security/2020/dsa-4715 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| imagemagick:imagemagick | = 7.0.8-50 q16 | /v1/products/imagemagick/imagemagick |
| debian:debian_linux | = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 19.10, = 19.04, = 18.04, = 16.04 | /v1/products/canonical/ubuntu_linux |
| opensuse:leap | = 15.1, = 15.0 | /v1/products/opensuse/leap |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ImageMagick/ImageMagick | commit, fix, issues | yes | /v1/repositories/ImageMagick/ImageMagick |
| ImageMagick/ImageMagick6 | commit, fix | yes | /v1/repositories/ImageMagick/ImageMagick6 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-07-05
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports