CVE-2017-5509
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD...
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
- Record
CVE-2017-5509- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
- Record
CVE-2017-5509- Updated
- 2026-11-02
EUVDEUVD-2017-14613 No score
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
- Record
EUVD-2017-14613- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-563x-mrp6-2hq2
7.8
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD...
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
- Record
GHSA-563x-mrp6-2hq2- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.8
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
- Record
CVE-2017-5509- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-5509
7.8
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
- Record
DEBIAN-CVE-2017-5509- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
imagemagickDebian:13 |
before 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
imagemagickDebian:14 |
before 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
converseenMageia:6 From an advisory covering 104 CVEs |
before 0.9.6.2-1.3.mga6 | 0.9.6.2-1.3.mga6 |
cuneiform-linuxMageia:6 From an advisory covering 104 CVEs |
before 1.1.0-9.2.mga6 | 1.1.0-9.2.mga6 |
dvdauthorMageia:6 From an advisory covering 104 CVEs |
before 0.7.2-2.2.mga6 | 0.7.2-2.2.mga6 |
emacsMageia:6 From an advisory covering 104 CVEs |
before 24.5-8.3.mga6 | 24.5-8.3.mga6 |
imagemagickMageia:6 From an advisory covering 104 CVEs |
before 6.9.9.41-1.mga6 | 6.9.9.41-1.mga6 |
inkscapeMageia:6 From an advisory covering 104 CVEs |
before 0.92.1-2.2.mga6 | 0.92.1-2.2.mga6 |
k3dMageia:6 From an advisory covering 104 CVEs |
before 0.8.0.5-5.2.mga6 | 0.8.0.5-5.2.mga6 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
kxstitchMageia:6 From an advisory covering 104 CVEs |
before 2.0.0-2.2.mga6 | 2.0.0-2.2.mga6 |
libopenshotMageia:6 From an advisory covering 104 CVEs |
before 0.1.8-1.2.mga6 | 0.1.8-1.2.mga6 |
ocaml-glmliteMageia:6 From an advisory covering 104 CVEs |
before 0.03.51-17.2.mga6 | 0.03.51-17.2.mga6 |
perl-Image-SubImageFindMageia:6 From an advisory covering 104 CVEs |
before 0.30.0-6.2.mga6 | 0.30.0-6.2.mga6 |
pfstoolsMageia:6 From an advisory covering 104 CVEs |
before 2.0.6-3.2.mga6 | 2.0.6-3.2.mga6 |
php-imagickMageia:6 From an advisory covering 104 CVEs |
before 3.4.1-6.2.mga6 | 3.4.1-6.2.mga6 |
php-magickwandMageia:6 From an advisory covering 104 CVEs |
before 1.0.9.2-10.2.mga6 | 1.0.9.2-10.2.mga6 |
psiconvMageia:6 From an advisory covering 104 CVEs |
before 0.9.8-26.2.mga6 | 0.9.8-26.2.mga6 |
pythonmagickMageia:6 From an advisory covering 104 CVEs |
before 0.9.12-7.2.mga6 | 0.9.12-7.2.mga6 |
ruby-rmagickMageia:6 From an advisory covering 104 CVEs |
before 2.15.4-12.2.mga6 | 2.15.4-12.2.mga6 |
synfigMageia:6 From an advisory covering 104 CVEs |
before 1.2.1-2.2.mga6 | 1.2.1-2.2.mga6 |
vdr-plugin-skinelchiMageia:6 From an advisory covering 104 CVEs |
before 0.2.8-8.2.mga6 | 0.2.8-8.2.mga6 |
vdr-plugin-skinenigmangMageia:6 From an advisory covering 104 CVEs |
before 0.1.2-10.2.mga6 | 0.1.2-10.2.mga6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-5509 is a high vulnerability (CVSS 7.8) in Imagemagick, published March 24, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.72%, the 77th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-1.
References
openwall.com/lists/oss-security/2017/01/16/6
bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377
security.gentoo.org/glsa/201702-09
github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af
github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab
github.com/ImageMagick/ImageMagick/issues/350
Show 8 moreShow less
securityfocus.com/bid/95751
openwall.com/lists/oss-security/2017/01/17/5
nvd.nist.gov/vuln/detail/CVE-2017-5509
github.com/advisories/GHSA-563x-mrp6-2hq2
security-tracker.debian.org/tracker/CVE-2017-5509
advisories.mageia.org/MGASA-2018-0229.html
bugs.mageia.org/show_bug.cgi?id=19078
git.imagemagick.org/repos/ImageMagick/blob/ImageMagick-6/ChangeLog