CVE-2017-9440
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c,...
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service 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, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
CVE-2017-9440- 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, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
CVE-2017-9440- Updated
- 2026-11-02
EUVDEUVD-2017-18373 No score
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
EUVD-2017-18373- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qrv8-66mv-3wgg
6.5
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c,...
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
GHSA-qrv8-66mv-3wgg- 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, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
CVE-2017-9440- 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-9440
6.5
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
DEBIAN-CVE-2017-9440- 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 4 moreShow less
OSVUBUNTU-CVE-2017-9440
6.5
In ImageMagick 7.0.5-5, a memory leak was found in the function ReadPSDChannel in coders/psd.c, which allows attackers to cause a denial of service via a crafted file.
- Record
UBUNTU-CVE-2017-9440- 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
OSVMGASA-2018-0229 No score
Updated imagemagick packages fix security vulnerabilities
The imagemagick package has been updated to version 6.9.9.41 which fixes several unspecified security vulnerabilities. This update fixes several vulnerabilities in imagemagick, including: Various memory handling problems and cases of missing or incomplete input sanitising may result in denial of service, memory disclosure or the execution of arbitrary code if malformed GIF, TTF, SVG, TIFF, PCX, JPG or SFW files are processed.
Several packages have been rebuilt for the updated ImageMagick.
- Record
MGASA-2018-0229- Updated
- 2026-11-02
OSVSUSE-SU-2017:2199-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
Security issues fixed:
- CVE-2017-9439: A memory leak was found in the function ReadPDBImage incoders/pdb.c (bsc#1042826)
- CVE-2017-9440: A memory leak was found in the function ReadPSDChannelin coders/psd.c (bsc#1042812)
- CVE-2017-9501: An assertion failure could cause a denial of service via a crafted file (bsc#1043289)
- CVE-2017-11403: ReadMNGImage function in coders/png.c has an out-of-order CloseBlob call, resulting in a use-after-free via acrafted file (bsc#1049072)
- Record
SUSE-SU-2017:2199-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-12 | 8:6.9.7.4+dfsg-12 |
imagemagickDebian:13 |
before 8:6.9.7.4+dfsg-12 | 8:6.9.7.4+dfsg-12 |
imagemagickDebian:14 |
before 8:6.9.7.4+dfsg-12 | 8:6.9.7.4+dfsg-12 |
imagemagickDebian:8 |
before 8:6.8.9.9-5+deb8u10, plus listed versions 8:6.8.9.9-58:6.8.9.9-5+deb8u18:6.8.9.9-5+deb8u28:6.8.9.9-5+deb8u38:6.8.9.9-5+deb8u4 Show 5 moreShow less8:6.8.9.9-5+deb8u58:6.8.9.9-5+deb8u68:6.8.9.9-5+deb8u78:6.8.9.9-5+deb8u88:6.8.9.9-5+deb8u9 |
8:6.8.9.9-5+deb8u10 |
imagemagickDebian:9 |
before 8:6.9.7.4+dfsg-11+deb9u1, plus listed versions 8:6.9.7.4+dfsg-11 |
8:6.9.7.4+dfsg-11+deb9u1 |
converseenMageia:6 |
before 0.9.6.2-1.3.mga6 | 0.9.6.2-1.3.mga6 |
cuneiform-linuxMageia:6 |
before 1.1.0-9.2.mga6 | 1.1.0-9.2.mga6 |
dvdauthorMageia:6 |
before 0.7.2-2.2.mga6 | 0.7.2-2.2.mga6 |
emacsMageia:6 |
before 24.5-8.3.mga6 | 24.5-8.3.mga6 |
imagemagickMageia:6 |
before 6.9.9.41-1.mga6 | 6.9.9.41-1.mga6 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
inkscapeMageia:6 |
before 0.92.1-2.2.mga6 | 0.92.1-2.2.mga6 |
k3dMageia:6 |
before 0.8.0.5-5.2.mga6 | 0.8.0.5-5.2.mga6 |
kxstitchMageia:6 |
before 2.0.0-2.2.mga6 | 2.0.0-2.2.mga6 |
libopenshotMageia:6 |
before 0.1.8-1.2.mga6 | 0.1.8-1.2.mga6 |
ocaml-glmliteMageia:6 |
before 0.03.51-17.2.mga6 | 0.03.51-17.2.mga6 |
perl-Image-SubImageFindMageia:6 |
before 0.30.0-6.2.mga6 | 0.30.0-6.2.mga6 |
pfstoolsMageia:6 |
before 2.0.6-3.2.mga6 | 2.0.6-3.2.mga6 |
php-imagickMageia:6 |
before 3.4.1-6.2.mga6 | 3.4.1-6.2.mga6 |
php-magickwandMageia:6 |
before 1.0.9.2-10.2.mga6 | 1.0.9.2-10.2.mga6 |
psiconvMageia:6 |
before 0.9.8-26.2.mga6 | 0.9.8-26.2.mga6 |
pythonmagickMageia:6 |
before 0.9.12-7.2.mga6 | 0.9.12-7.2.mga6 |
ruby-rmagickMageia:6 |
before 2.15.4-12.2.mga6 | 2.15.4-12.2.mga6 |
synfigMageia:6 |
before 1.2.1-2.2.mga6 | 1.2.1-2.2.mga6 |
vdr-plugin-skinelchiMageia:6 |
before 0.2.8-8.2.mga6 | 0.2.8-8.2.mga6 |
vdr-plugin-skinenigmangMageia:6 |
before 0.1.2-10.2.mga6 | 0.1.2-10.2.mga6 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP3 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Server 12 SP3 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 6.8.8.1-71.5.3 | 6.8.8.1-71.5.3 |
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 |
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 |
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-9440 is a medium vulnerability (CVSS 6.5) in Imagemagick, published June 5, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.54%, the 74th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-12.
References
securityfocus.com/bid/98908
github.com/ImageMagick/ImageMagick/issues/462
nvd.nist.gov/vuln/detail/CVE-2017-9440
github.com/advisories/GHSA-qrv8-66mv-3wgg
security-tracker.debian.org/tracker/CVE-2017-9440
advisories.mageia.org/MGASA-2018-0229.html
Show 32 moreShow less
bugs.mageia.org/show_bug.cgi?id=19078
git.imagemagick.org/repos/ImageMagick/blob/ImageMagick-6/ChangeLog
suse.com/support/update/announcement/2017/suse-su-20172199-1
bugzilla.suse.com/1042812
bugzilla.suse.com/1042826
bugzilla.suse.com/1043289
bugzilla.suse.com/1049072
suse.com/security/cve/CVE-2017-11403
suse.com/security/cve/CVE-2017-9439
suse.com/security/cve/CVE-2017-9440
suse.com/security/cve/CVE-2017-9501
ubuntu.com/security/CVE-2017-9440
ubuntu.com/security/notices/USN-3363-1
cve.org/CVERecord?id=CVE-2017-9440
ubuntu.com/security/CVE-2017-9261
ubuntu.com/security/CVE-2017-9262
ubuntu.com/security/CVE-2017-9405
ubuntu.com/security/CVE-2017-9407
ubuntu.com/security/CVE-2017-9409
ubuntu.com/security/CVE-2017-9439
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