CVE-2017-5509 json
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds writ…
published 2017-03-24 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-14613
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
Patch / fix
- imagemagick imagemagick 6.9.7-4, 7.0.4-4
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.4+dfsg-1
debian advisories DEBIAN-CVE-2017-5509
- github.com/ImageMagick/ImageMagick@37a1710 commit
- github.com/ImageMagick/ImageMagick@d4ec73f commit
- openwall.com/lists/oss-security/2017/01/16/6 advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377 advisory
- github.com/ImageMagick/ImageMagick/issues/350 advisory
- openwall.com/lists/oss-security/2017/01/17/5 advisory
Vendor 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-5509 updated cvss 4.4
ImageMagick: Out-of-bounds write flaw in psd file handling
-
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: 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
1.72% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af
issue-tracking, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab
issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/16/6
mailing-list, patch, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=851377
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/350
issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/17/5
mailing-list, patch, third-party-advisory
-
security.gentoo.org
/glsa/201702-09
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/95751
vdb-entry, broken-link, third-party-advisory
Sources
- CVE List CVE-2017-5509
- NVD CVE-2017-5509
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.