Description
Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick, possibly 6.8.8-5, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PSD image, involving the L%06ld string, a different vulnerability than CVE-2014-1947.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | imagemagick | 8:6.7.7.10+dfsg-1 | — |
| Debian 13 | imagemagick | 8:6.7.7.10+dfsg-1 | — |
| Debian 12 | imagemagick | 8:6.7.7.10+dfsg-1 | — |
| Debian 7 | imagemagick | 8:6.7.7.10-5+deb7u3 | DSA-2898-1 |
| Debian 6.0 | imagemagick | 8:6.6.0.4-3+squeeze4 | DSA-2898-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- ImageMagick 6.8.8-4 - Local Buffer Overflow (SEH) EDB-31688 · local · Feb 16, 2014
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2898-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.openwall.com/lists/oss-security/2014/02/12/2
- http://www.openwall.com/lists/oss-security/2014/02/13/5
- http://www.openwall.com/lists/oss-security/2014/02/19/13
- https://bugzilla.redhat.com/show_bug.cgi?id=1064098
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00032.html
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00039.html
- http://ubuntu.com/usn/usn-2132-1
- https://web.archive.org/web/20090120112751/http://trac.imagemagick.org/changeset/13736