CVE-2017-13145
publishedImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | imagemagick | Advisory build | 8:6.8.9.9-5+deb8u16 | DLA-1785-1 |
| Ubuntu | xenial | imagemagick | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Debian | stretch | imagemagick | Advisory build | 8:6.9.7.4+dfsg-11+deb9u2 | DSA-4019-1 |
| Ubuntu | xenial | imagemagick-6.q16 | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | imagemagick-common | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libimage-magick-perl | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libimage-magick-q16-perl | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | xenial | libmagick++-6-headers | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagick++-6.q16-5v5 | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagickcore-6-arch-config | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagickcore-6-headers | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagickcore-6.q16-2 | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagickcore-6.q16-2-extra | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagickwand-6-headers | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | libmagickwand-6.q16-2 | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
| Ubuntu | xenial | perlmagick | Advisory build | 8:6.8.9.9-7ubuntu5.11 | USN-3681-1 |
Description
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869830
- https://github.com/ImageMagick/ImageMagick/commit/acee073df34aa4d491bf5cb74d3a15fc80f0a3aa
- https://github.com/ImageMagick/ImageMagick/commit/f13c6b54a879aaa771ec64b5a066b939e8f8e7f0
- https://github.com/ImageMagick/ImageMagick/issues/501
- [debian-lts-announce] 20190514 [SECURITY] [DLA 1785-1] imagemagick security update https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
- GLSA-201711-07 https://security.gentoo.org/glsa/201711-07
- USN-3681-1 https://usn.ubuntu.com/3681-1/
- DSA-4019 https://www.debian.org/security/2017/dsa-4019
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f701f0cf582c8575ab17253806d612fbef11aa5303c747199c907b9be17387b2
- Ingested
- 23 Sep 2026, 07:42:00 UTC
- Source record
- Official CVE record