CVE-2017-5511 json
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact by leveraging an improper cast, which triggers a heap-based…
published 2017-03-24 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-14615
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.5%
- EPSS 5.5% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact by leveraging an improper cast, which triggers a heap-based buffer overflow.
Patch / fix
- imagemagick imagemagick 6.9.7-3, 7.0.4-3
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.4+dfsg-1
debian advisories DEBIAN-CVE-2017-5511
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.5
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.5
ubuntu advisories UBUNTU-CVE-2017-5511
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.65.1
- ImageMagick SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-59.1
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.62.1
suse advisories SUSE-SU-2017:0586-1SUSE-SU-2017:0529-1SUSE-SU-2017:0518-1
- github.com/ImageMagick/ImageMagick@c8c6a0f commit
- github.com/ImageMagick/ImageMagick@7d65a81 commit
- openwall.com/lists/oss-security/2017/01/16/6 advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374 advisory
- github.com/ImageMagick/ImageMagick/issues/347 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-5511 updated cvss 4.4
ImageMagick: Memory corruption heap overflow in psd.c
-
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
5.47% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790
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=851374
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/347
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
-
debian.org
/security/2017/dsa-3799
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/95746
vdb-entry, broken-link, third-party-advisory
Sources
- CVE List CVE-2017-5511
- NVD CVE-2017-5511
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.