CVE-2017-13145 json
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 geom…
published 2017-08-23 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4662
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.4+dfsg-13
debian advisories DEBIAN-CVE-2017-13145
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.11
ubuntu advisories UBUNTU-CVE-2017-13145
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-13145 updated cvss 3.3
ImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat OpenShift Enterprise 2 ImageMagickaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.57% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/ImageMagick/ImageMagick/commit/acee073df34aa4d491bf5cb74d3a15fc80f0a3aa
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/commit/f13c6b54a879aaa771ec64b5a066b939e8f8e7f0
patch, vendor-advisory
-
github.com
/ImageMagick/ImageMagick/issues/501
issue-tracking, patch, third-party-advisory
-
usn.ubuntu.com
/3681-1/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201711-07
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-4019
vendor-advisory, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=869830
issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/05/msg00015.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-13145
- NVD CVE-2017-13145
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.