CVE-2017-9405
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a...
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
CVE-2017-9405- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-772
- Updated
- 2026-11-02
CVE List No score
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
CVE-2017-9405- Updated
- 2026-11-02
EUVDEUVD-2017-18340 No score
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
EUVD-2017-18340- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rp76-r8p6-jh5j
6.5
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a...
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
GHSA-rp76-r8p6-jh5j- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
6.5
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
CVE-2017-9405- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9405
6.5
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
DEBIAN-CVE-2017-9405- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2017-9405
6.5
In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.
- Record
UBUNTU-CVE-2017-9405- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2018:0581-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2017-9405: A memory leak in the ReadICONImage function was fixed that could lead to DoS via memory exhaustion (bsc#1042911)
- CVE-2017-9407: In ImageMagick, the ReadPALMImage function in palm.c allowed attackers to cause a denial of service (memory leak) via a crafted file. (bsc#1042824)
- CVE-2017-11166: In ReadXWDImage in coders\xwd.c a memoryleak could have caused memory exhaustion via a crafted length (bsc#1048110)
- CVE-2017-11170: ReadTGAImage in coders\tga.c allowed for memory exhaustion via invalid colors data in the header of a TGA or VST file (bsc#1048272)
- CVE-2017-11448: The ReadJPEGImage function in coders/jpeg.c in ImageMagick allowed remote attackers to obtain sensitive information from uninitialized memory locations via a crafted file. (bsc#1049375)
- CVE-2017-11450: A remote denial of service in coders/jpeg.c was fixed (bsc#1049374)
- CVE-2017-11528: ReadDIBImage in coders/dib.c allows remote attackers to cause DoS via memory exhaustion (bsc#1050119)
- CVE-2017-11530: ReadEPTImage in coders/ept.c allows remote attackers to cause DoS via memory exhaustion (bsc#1050122)
- CVE-2017-11531: When ImageMagick processed a crafted file in convert, it could lead to a Memory Leak in the WriteHISTOGRAMImage() function in coders/histogram.c. (bsc#1050126)
- CVE-2017-11533: A information leak by 1 byte due to heap-based buffer over-read in the WriteUILImage() in coders/uil.c was fixed (bsc#1050132)
- CVE-2017-11537: When ImageMagick processed a crafted file in convert, it can lead to a Floating Point Exception (FPE) in the WritePALMImage() function in coders/palm.c, related to an incorrect bits-per-pixel calculation. (bsc#1050048)
- CVE-2017-11638, CVE-2017-11642: A NULL pointer dereference in theWriteMAPImage() in coders/map.c was fixed which could lead to a crash (bsc#1050617)
- CVE-2017-12418: ImageMagick had memory leaks in the parse8BIMW and format8BIM functions in coders/meta.c, related to the WriteImage function in MagickCore/constitute.c. (bsc#1052207)
- CVE-2017-12427: ProcessMSLScript coders/msl.c allowed remote attackers to cause a DoS (bsc#1052248)
- CVE-2017-12429: A memory exhaustion flaw in ReadMIFFImage in coders/miff.c was fixed, which allowed attackers to cause DoS (bsc#1052251)
- CVE-2017-12432: In ImageMagick, a memory exhaustion vulnerability was found in the function ReadPCXImage in coders/pcx.c, which allowed attackers to cause a denial of service. (bsc#1052254)
- CVE-2017-12566: A memory leak in ReadMVGImage in coders/mvg.c, could have allowed attackers to cause DoS (bsc#1052472)
- CVE-2017-12654: The ReadPICTImage function in coders/pict.c in ImageMagick allowed attackers to cause a denial of service (memory leak) via a crafted file. (bsc#1052761)
- CVE-2017-12663: A memory leak in WriteMAPImage in coders/map.c was fixed that could lead to a DoS via memory exhaustion (bsc#1052754)
- CVE-2017-12664: ImageMagick had a memory leak vulnerability in WritePALMImage in coders/palm.c. (bsc#1052750)
- CVE-2017-12665: ImageMagick had a memory leak vulnerability in WritePICTImage in coders/pict.c. (bsc#1052747)
- CVE-2017-12668: ImageMagick had a memory leak vulnerability in WritePCXImage in coders/pcx.c. (bsc#1052688)
- CVE-2017-12674: A CPU exhaustion in ReadPDBImage in coders/pdb.c was fixed, which allowed attackers to cause DoS (bsc#1052711)
- CVE-2017-13058: In ImageMagick, a memory leak vulnerability was found in the function WritePCXImage in coders/pcx.c, which allowed attackers to cause a denial of service via a crafted file. (bsc#1055069)
- CVE-2017-13131: A memory leak vulnerability was found in thefunction ReadMIFFImage in coders/miff.c, which allowed attackers tocause a denial of service (memory consumption in NewL (bsc#1055229)
- CVE-2017-14060: A NULL Pointer Dereference issue in the ReadCUTImage function in coders/cut.c was fixed that could have caused a Denial of Service (bsc#1056768)
- CVE-2017-14139: A memory leak…
- Record
SUSE-SU-2018:0581-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0672-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
Security issues fixed:
- CVE-2017-9405: A memory leak in the ReadICONImage function was fixed that could lead to DoS via memory exhaustion (bsc#1042911)
- CVE-2017-11528: ReadDIBImage in coders/dib.c allows remote attackers to cause DoS via memory exhaustion (bsc#1050119)
- CVE-2017-11533: A information leak by 1 byte due to heap-based buffer over-read in the WriteUILImage() in coders/uil.c was fixed (bsc#1050132)
- CVE-2017-12663: A memory leak in WriteMAPImage in coders/map.c was fixed that could lead to a DoS via memory exhaustion (bsc#1052754)
- CVE-2017-17682: A large loop vulnerability was fixed in ExtractPostscript in coders/wpg.c, which allowed attackers to cause a denial of service (CPU exhaustion) (bsc#1072898)
- CVE-2017-17500: A heap-based buffer overflow (read) in the ImportRGBQuantumType was fixed. (bsc#1077737)
- Record
SUSE-SU-2018:0672-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0770-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
Security issues fixed:
- CVE-2017-9405: A memory leak in the ReadICONImage function was fixed that could lead to DoS via memory exhaustion (bsc#1042911)
- CVE-2017-11528: ReadDIBImage in coders/dib.c allows remote attackers to cause DoS via memory exhaustion (bsc#1050119)
- CVE-2017-11530: ReadEPTImage in coders/ept.c allows remote attackers to cause DoS via memory exhaustion (bsc#1050122)
- CVE-2017-11533: A information leak by 1 byte due to heap-based buffer over-read in the WriteUILImage() in coders/uil.c was fixed (bsc#1050132)
- CVE-2017-12663: A memory leak in WriteMAPImage in coders/map.c was fixed that could lead to a DoS via memory exhaustion (bsc#1052754)
- CVE-2017-17682: A large loop vulnerability was fixed in ExtractPostscript in coders/wpg.c, which allowed attackers to cause a denial of service (CPU exhaustion) (bsc#1072898)
- Record
SUSE-SU-2018:0770-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:13923-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
Security issues fixed:
- CVE-2018-18544: Fixed memory leak in the function WriteMSLImage() (bsc#1113064).
- CVE-2017-10794: Fixed buffer overflow in RGB TIFF picture processing (bsc#1112392).
- CVE-2017-14997: Fixed integer underflow in ReadPICTImage in coders/pict.c (bsc#1112399).
- CVE-2018-20185: Fixed heap-based buffer over-read in the ReadBMPImage function of bmp.c (bsc#1119823)
- CVE-2018-20184: Fixed heap-based buffer overflow in the WriteTGAImage function of tga.c (bsc#1119822)
Regressions fixed after security update:
- CVE-2017-12663: Fixed memory leak in WriteMAPImage in coders/map.c (bsc#1052754).
- CVE-2017-9405: Fixed memory leak in the ReadICONImage function (bsc#1042911).
- CVE-2018-6405: Fixed ReadDCMImage function in coders/dcm (bsc#1078433).
Non-security issues fixed:
- debug_build: build more suitable for debugging
- Record
SUSE-SU-2019:13923-1- Updated
- 2026-11-02
OSVUSN-3363-1 No score
imagemagick vulnerabilities
It was discovered that ImageMagick incorrectly handled certain malformed image files. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service or possibly execute code with the privileges of the user invoking the program.
- Record
USN-3363-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.7.4+dfsg-11 | 8:6.9.7.4+dfsg-11 |
imagemagickDebian:13 |
before 8:6.9.7.4+dfsg-11 | 8:6.9.7.4+dfsg-11 |
imagemagickDebian:14 |
before 8:6.9.7.4+dfsg-11 | 8:6.9.7.4+dfsg-11 |
imagemagickDebian:7 |
before 8:6.7.7.10-5+deb7u15, plus listed versions 8:6.7.7.10-58:6.7.7.10-5+deb7u108:6.7.7.10-5+deb7u118:6.7.7.10-5+deb7u128:6.7.7.10-5+deb7u13 Show 9 moreShow less8:6.7.7.10-5+deb7u148:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u58:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u78:6.7.7.10-5+deb7u88:6.7.7.10-5+deb7u9 |
8:6.7.7.10-5+deb7u15 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP3 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 6.8.8.1-71.42.1 | 6.8.8.1-71.42.1 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.2.5-4.78.41.1 | 1.2.5-4.78.41.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 |
before 1.2.5-4.78.41.1 | 1.2.5-4.78.41.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 6.4.3.6-7.78.37.1 | 6.4.3.6-7.78.37.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 |
before 6.4.3.6-7.78.37.1 | 6.4.3.6-7.78.37.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 6.4.3.6-7.78.37.1 | 6.4.3.6-7.78.37.1 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.2.5-78.78.1 | 1.2.5-78.78.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 |
before 1.2.5-78.78.1 | 1.2.5-78.78.1 |
imagemagickUbuntu:14.04:LTS |
before 8:6.7.7.10-6ubuntu3.8, plus listed versions 8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3 Show 7 moreShow less8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.7 |
8:6.7.7.10-6ubuntu3.8 |
imagemagickUbuntu:16.04:LTS |
before 8:6.8.9.9-7ubuntu5.8, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 11 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.7 |
8:6.8.9.9-7ubuntu5.8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9405 is a medium vulnerability (CVSS 6.5) in Imagemagick, published June 2, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.10%, the 65th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-11.
References
github.com/ImageMagick/ImageMagick/issues/457
nvd.nist.gov/vuln/detail/CVE-2017-9405
github.com/advisories/GHSA-rp76-r8p6-jh5j
security-tracker.debian.org/tracker/CVE-2017-9405
suse.com/support/update/announcement/2018/suse-su-20180581-1
bugzilla.suse.com/1042824
Show 104 moreShow less
bugzilla.suse.com/1042911
bugzilla.suse.com/1048110
bugzilla.suse.com/1048272
bugzilla.suse.com/1049374
bugzilla.suse.com/1049375
bugzilla.suse.com/1050048
bugzilla.suse.com/1050119
bugzilla.suse.com/1050122
bugzilla.suse.com/1050126
bugzilla.suse.com/1050132
bugzilla.suse.com/1050617
bugzilla.suse.com/1052207
bugzilla.suse.com/1052248
bugzilla.suse.com/1052251
bugzilla.suse.com/1052254
bugzilla.suse.com/1052472
bugzilla.suse.com/1052688
bugzilla.suse.com/1052711
bugzilla.suse.com/1052747
bugzilla.suse.com/1052750
bugzilla.suse.com/1052754
bugzilla.suse.com/1052761
bugzilla.suse.com/1055069
bugzilla.suse.com/1055229
bugzilla.suse.com/1056768
bugzilla.suse.com/1057163
bugzilla.suse.com/1058009
bugzilla.suse.com/1072898
bugzilla.suse.com/1074119
bugzilla.suse.com/1074170
bugzilla.suse.com/1075821
bugzilla.suse.com/1076182
bugzilla.suse.com/1078433
suse.com/security/cve/CVE-2017-11166
suse.com/security/cve/CVE-2017-11170
suse.com/security/cve/CVE-2017-11448
suse.com/security/cve/CVE-2017-11450
suse.com/security/cve/CVE-2017-11528
suse.com/security/cve/CVE-2017-11530
suse.com/security/cve/CVE-2017-11531
suse.com/security/cve/CVE-2017-11533
suse.com/security/cve/CVE-2017-11537
suse.com/security/cve/CVE-2017-11638
suse.com/security/cve/CVE-2017-11642
suse.com/security/cve/CVE-2017-12418
suse.com/security/cve/CVE-2017-12427
suse.com/security/cve/CVE-2017-12429
suse.com/security/cve/CVE-2017-12432
suse.com/security/cve/CVE-2017-12566
suse.com/security/cve/CVE-2017-12654
suse.com/security/cve/CVE-2017-12663
suse.com/security/cve/CVE-2017-12664
suse.com/security/cve/CVE-2017-12665
suse.com/security/cve/CVE-2017-12668
suse.com/security/cve/CVE-2017-12674
suse.com/security/cve/CVE-2017-13058
suse.com/security/cve/CVE-2017-13131
suse.com/security/cve/CVE-2017-14060
suse.com/security/cve/CVE-2017-14139
suse.com/security/cve/CVE-2017-14224
suse.com/security/cve/CVE-2017-17682
suse.com/security/cve/CVE-2017-17885
suse.com/security/cve/CVE-2017-17934
suse.com/security/cve/CVE-2017-18028
suse.com/security/cve/CVE-2017-9405
suse.com/security/cve/CVE-2017-9407
suse.com/security/cve/CVE-2018-5357
suse.com/security/cve/CVE-2018-6405
suse.com/support/update/announcement/2018/suse-su-20180672-1
bugzilla.suse.com/1077737
suse.com/security/cve/CVE-2017-17500
suse.com/support/update/announcement/2018/suse-su-20180770-1
suse.com/support/update/announcement/2019/suse-su-201913923-1
bugzilla.suse.com/1112392
bugzilla.suse.com/1112399
bugzilla.suse.com/1113064
bugzilla.suse.com/1119822
bugzilla.suse.com/1119823
suse.com/security/cve/CVE-2017-10794
suse.com/security/cve/CVE-2017-14997
suse.com/security/cve/CVE-2018-18544
suse.com/security/cve/CVE-2018-20184
suse.com/security/cve/CVE-2018-20185
ubuntu.com/security/CVE-2017-9405
ubuntu.com/security/notices/USN-3363-1
cve.org/CVERecord?id=CVE-2017-9405
ubuntu.com/security/CVE-2017-9261
ubuntu.com/security/CVE-2017-9262
ubuntu.com/security/CVE-2017-9407
ubuntu.com/security/CVE-2017-9409
ubuntu.com/security/CVE-2017-9439
ubuntu.com/security/CVE-2017-9440
ubuntu.com/security/CVE-2017-9501
ubuntu.com/security/CVE-2017-10928
ubuntu.com/security/CVE-2017-11141
ubuntu.com/security/CVE-2017-11170
ubuntu.com/security/CVE-2017-11188
ubuntu.com/security/CVE-2017-11352
ubuntu.com/security/CVE-2017-11360
ubuntu.com/security/CVE-2017-11447
ubuntu.com/security/CVE-2017-11448
ubuntu.com/security/CVE-2017-11449
ubuntu.com/security/CVE-2017-11450
ubuntu.com/security/CVE-2017-11478
Left out here: the rest of 1 source description. The JSON record has them.