CVE-2017-13145

NameCVE-2017-13145
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4019-1
NVD severitymedium (attack range: remote)
Debian Bugs869830

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)wheezy8:6.7.7.10-5+deb7u4fixed
wheezy (security)8:6.7.7.10-5+deb7u18fixed
jessie8:6.8.9.9-5+deb8u9vulnerable
jessie (security)8:6.8.9.9-5+deb8u11vulnerable
stretch8:6.9.7.4+dfsg-11+deb9u1vulnerable
stretch (security)8:6.9.7.4+dfsg-11+deb9u3fixed
buster, sid8:6.9.7.4+dfsg-16fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksource(unstable)8:6.9.7.4+dfsg-13medium869830
imagemagicksourcestretch8:6.9.7.4+dfsg-11+deb9u2mediumDSA-4019-1
imagemagicksourcewheezy(not affected)

Notes

[jessie] - imagemagick <no-dsa> (Minor issue)
[wheezy] - imagemagick <not-affected> (Vulnerable code not present)
https://github.com/ImageMagick/ImageMagick/issues/501
https://github.com/ImageMagick/ImageMagick/commit/acee073df34aa4d491bf5cb74d3a15fc80f0a3aa
https://github.com/ImageMagick/ImageMagick/commit/ac23b02ecb741e5de60f5235ea443790c88a0b80
https://github.com/ImageMagick/ImageMagick/commit/b0c5222ce31e8f941fa02ff9c7a040fb2db30dbc

Search for package or bug name: Reporting problems