CVE-2017-9098 json
ImageMagick before 7.0.5-2 and GraphicsMagick before 1.3.24 use uninitialized memory in the RLE decoder, allowing an attacker to leak sensi…
published 9y ago modified 4mo ago also EUVD-2017-18036
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick imagemagick 6.9.8-1, 7.0.5-2
- graphicsmagick graphicsmagick 1.3.24
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.4+dfsg-9
- graphicsmagick Debian 14, Debian 13, Debian 12 1.3.24-1
debian advisories DEBIAN-CVE-2017-9098
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.7
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.7
ubuntu advisories UBUNTU-CVE-2017-9098
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
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.77.1
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.77.1
- ImageMagick SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 6.8.8.1-70.1
suse advisories SUSE-SU-2017:1600-1SUSE-SU-2017:1599-1SUSE-SU-2017:1489-1
- imagemagick Arch Linux 7.0.5.2-1
arch linux advisories AVG-939
Is CVE-2017-9098 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-9098 updated cvss 5.1
ImageMagick: use of uninitialized memory in RLE decoder
-
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: workaround, 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
3.57% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- scarybeastsecurity.blogspot.com https://scarybeastsecurity.blogspot.com/2017/05/bleed-continues-18-byte-file-14k-bounty.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
References
-
github.com
/ImageMagick/ImageMagick/commit/1c358ffe0049f768dd49a8a889c1cbf99ac9849b
patch, third-party-advisory
-
hg.code.sf.net
/p/graphicsmagick/code/diff/0a5b75e019b6/coders/rle.c
patch, third-party-advisory
-
scarybeastsecurity.blogspot.com
/2017/05/bleed-continues-18-byte-file-14k-bounty.html
exploit, technical-description, third-party-advisory
-
debian.org
/security/2017/dsa-3863
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/98593
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/08/msg00002.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-9098
- NVD CVE-2017-9098
Fencer Intel 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.