{"id":"UBUNTU-CVE-2017-9098","details":"ImageMagick before 7.0.5-2 and GraphicsMagick before 1.3.24 use uninitialized memory in the RLE decoder, allowing an attacker to leak sensitive information from process memory space, as demonstrated by remote attacks against ImageMagick code in a long-running server process that converts image data on behalf of multiple users. This is caused by a missing initialization step in the ReadRLEImage function in coders/rle.c.","modified":"2026-04-22T12:36:24.752182Z","published":"2017-05-19T00:00:00Z","related":["USN-3302-1"],"upstream":["CVE-2017-9098"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-9098"},{"type":"REPORT","url":"https://scarybeastsecurity.blogspot.com/2017/05/bleed-continues-18-byte-file-14k-bounty.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3302-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-9098"}],"affected":[{"package":{"name":"imagemagick","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/imagemagick@8:6.7.7.10-6ubuntu3.7?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10-6ubuntu3.7"}]}],"versions":["8:6.7.7.10-5ubuntu3","8:6.7.7.10-5ubuntu4","8:6.7.7.10-6ubuntu1","8:6.7.7.10-6ubuntu2","8:6.7.7.10-6ubuntu3","8:6.7.7.10-6ubuntu3.1","8:6.7.7.10-6ubuntu3.2","8:6.7.7.10-6ubuntu3.3","8:6.7.7.10-6ubuntu3.4","8:6.7.7.10-6ubuntu3.5","8:6.7.7.10-6ubuntu3.6"],"ecosystem_specific":{"binaries":[{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"imagemagick"},{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"imagemagick-common"},{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"libmagick++5"},{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"libmagickcore5"},{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"libmagickcore5-extra"},{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"libmagickwand5"},{"binary_version":"8:6.7.7.10-6ubuntu3.7","binary_name":"perlmagick"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9098.json"}},{"package":{"name":"imagemagick","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/imagemagick@8:6.8.9.9-7ubuntu5.7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.8.9.9-7ubuntu5.7"}]}],"versions":["8:6.8.9.9-5ubuntu2","8:6.8.9.9-6","8:6.8.9.9-6build1","8:6.8.9.9-7","8:6.8.9.9-7ubuntu1","8:6.8.9.9-7ubuntu2","8:6.8.9.9-7ubuntu3","8:6.8.9.9-7ubuntu4","8:6.8.9.9-7ubuntu5","8:6.8.9.9-7ubuntu5.1","8:6.8.9.9-7ubuntu5.2","8:6.8.9.9-7ubuntu5.3","8:6.8.9.9-7ubuntu5.4","8:6.8.9.9-7ubuntu5.5","8:6.8.9.9-7ubuntu5.6"],"ecosystem_specific":{"binaries":[{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"imagemagick"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"imagemagick-6.q16"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"imagemagick-common"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libimage-magick-perl"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libimage-magick-q16-perl"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagick++-6-headers"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagick++-6.q16-5v5"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagickcore-6-arch-config"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagickcore-6-headers"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagickcore-6.q16-2"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagickcore-6.q16-2-extra"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagickwand-6-headers"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"libmagickwand-6.q16-2"},{"binary_version":"8:6.8.9.9-7ubuntu5.7","binary_name":"perlmagick"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9098.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}