CVE-2017-5509
published 2017-03-24CVE-2017-5509: coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
PriorityP336high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.67%
74.3th percentile
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.9.7.4+dfsg-1 (bookworm) | imagemagick 8:6.9.7.4+dfsg-1 (bookworm) |
| imagemagick | imagemagick | < 6.9.7-4 | 6.9.7-4 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-1 | 8:6.9.7.4+dfsg-1 |
| imagemagick | imagemagick | >= 7.0.0-0 < 7.0.4-4 | 7.0.4-4 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ImageMagick: Out-of-bounds write flaw in psd file handling
vendor_redhat·2017-01-10·CVSS 7.8
CVE-2017-5509 [HIGH] CWE-787 ImageMagick: Out-of-bounds write flaw in psd file handling
ImageMagick: Out-of-bounds write flaw in psd file handling
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2017-5509: imagemagick - coders/psd.c in ImageMagick allows remote attackers to have unspecified impact v...
vendor_debian·2017·CVSS 7.8
CVE-2017-5509 [HIGH] CVE-2017-5509: imagemagick - coders/psd.c in ImageMagick allows remote attackers to have unspecified impact v...
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
Scope: local
bookworm: resolved (fixed in 8:6.9.7.4+dfsg-1)
bullseye: resolved (fixed in 8:6.9.7.4+dfsg-1)
forky: resolved (fixed in 8:6.9.7.4+dfsg-1)
sid: resolved (fixed in 8:6.9.7.4+dfsg-1)
trixie: resolved (fixed in 8:6.9.7.4+dfsg-1)
GHSA
GHSA-563x-mrp6-2hq2: coders/psd
ghsa_unreviewed·2022-05-13
CVE-2017-5509 [HIGH] CWE-787 GHSA-563x-mrp6-2hq2: coders/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.
OSV
CVE-2017-5509: coders/psd
osv·2017-03-24·CVSS 7.8
CVE-2017-5509 [HIGH] CVE-2017-5509: coders/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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-5509 ImageMagick: Out-of-bounds write flaw in psd file handling
bugzilla·2017-01-18·CVSS 7.8
CVE-2017-5509 [HIGH] CVE-2017-5509 ImageMagick: Out-of-bounds write flaw in psd file handling
CVE-2017-5509 ImageMagick: Out-of-bounds write flaw in psd file handling
An out-of-bounds write vulnerability was found in ImageMagick. A maliciously crafted file could cause the application to crash or possibly have other impact.
References:
http://seclists.org/oss-sec/2017/q1/110
Upstream patches:
https://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab
https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af
Upstream bug:
https://github.com/ImageMagick/ImageMagick/issues/350
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1410515]
Bugzilla
ImageMagick: various flaws [fedora-all]
bugzilla·2017-01-05·CVSS 5.5
[MEDIUM] ImageMagick: various flaws [fedora-all]
ImageMagick: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug ha
http://www.openwall.com/lists/oss-security/2017/01/16/6http://www.openwall.com/lists/oss-security/2017/01/17/5http://www.securityfocus.com/bid/95751https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6afhttps://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3abhttps://github.com/ImageMagick/ImageMagick/issues/350https://security.gentoo.org/glsa/201702-09http://www.openwall.com/lists/oss-security/2017/01/16/6http://www.openwall.com/lists/oss-security/2017/01/17/5http://www.securityfocus.com/bid/95751https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6afhttps://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3abhttps://github.com/ImageMagick/ImageMagick/issues/350https://security.gentoo.org/glsa/201702-09
2017-03-24
Published