CVE-2016-10051
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5...
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
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
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
CVE-2016-10051- 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-416
- Updated
- 2026-11-02
CVE List No score
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
CVE-2016-10051- Updated
- 2026-11-02
EUVDEUVD-2016-1245 No score
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
EUVD-2016-1245- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7jp3-x6j5-68rr
7.8
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5...
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
GHSA-7jp3-x6j5-68rr- 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-416
- Updated
- 2026-11-02
OSV
7.8
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
CVE-2016-10051- 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-2016-10051
7.8
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
DEBIAN-CVE-2016-10051- 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
Show 5 moreShow less
OSVUBUNTU-CVE-2016-10051
7.8
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.
- Record
UBUNTU-CVE-2016-10051- 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 3.0
- 7.8 High
CVSS:3.0/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
OSVSUSE-SU-2017:0518-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes several issues.
These security issues were fixed:
- CVE-2016-10048: Arbitrary module could have been load because relative path were not escaped (bsc#1017310).
- CVE-2016-10049: Corrupt RLE files could have overflowed a buffer due to a incorrect length calculation (bsc#1017311).
- CVE-2016-10050: Corrupt RLE files could have overflowed a heap buffer due to a missing offset check (bsc#1017312).
- CVE-2016-10051: Fixed use after free when reading PWP files (bsc#1017313).
- CVE-2016-10059: Unchecked calculation when reading TIFF files could have lead to a buffer overflow (bsc#1017318).
- CVE-2016-10064: Improved checks for buffer overflow when reading TIFF files (bsc#1017321).
- CVE-2016-10065: Unchecked calculations when reading VIFF files could have lead to out of bound reads (bsc#1017322).
- CVE-2016-10068: Prevent NULL pointer access when using the MSL interpreter (bsc#1017324).
- CVE-2016-10070: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326).
- CVE-2016-10146: Captions and labels were handled incorrectly, causing a memory leak that could have lead to DoS (bsc#1020443).
- CVE-2017-5511: A missing cast when reading PSD files could have caused memory corruption by a heap overflow (bsc#1020448).
- Record
SUSE-SU-2017:0518-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:0529-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2016-10046: Prevent buffer overflow in draw.c caused by an incorrect length calculation (bsc#1017308)
- CVE-2016-10048: Arbitrary module could have been load because relative path were not escaped (bsc#1017310)
- CVE-2016-10049: Corrupt RLE files could have overflowed a buffer due to a incorrect length calculation (bsc#1017311)
- CVE-2016-10050: Corrupt RLE files could have overflowed a heap buffer due to a missing offset check (bsc#1017312)
- CVE-2016-10051: Fixed use after free when reading PWP files (bsc#1017313)
- CVE-2016-10052: Added bound check to exif parsing of JPEG files (bsc#1017314)
- CVE-2016-10059: Unchecked calculation when reading TIFF files could have lead to a buffer overflow (bsc#1017318)
- CVE-2016-10060: Improved error handling when writing files to not mask errors (bsc#1017319)
- CVE-2016-10061: Improved error handling when writing files to not mask errors (bsc#1017319).
- CVE-2016-10062: Improved error handling when writing files to not mask errors (bsc#1017319).
- CVE-2016-10063: Check validity of extend during TIFF file reading (bsc#1017320)
- CVE-2016-10064: Improved checks for buffer overflow when reading TIFF files (bsc#1017321)
- CVE-2016-10065: Unchecked calculations when reading VIFF files could have lead to out of bound reads (bsc#1017322)
- CVE-2016-10068: Prevent NULL pointer access when using the MSL interpreter (bsc#1017324)
- CVE-2016-10069: Add check for invalid mat file (bsc#1017325).
- CVE-2016-10070: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
- CVE-2016-10071: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
- CVE-2016-10144: Added a check after allocating memory when parsing IPL files (bsc#1020433)
- CVE-2016-10145: Fixed of-by-one in string copy operation when parsing WPG files (bsc#1020435)
- CVE-2016-10146: Captions and labels were handled incorrectly, causing a memory leak that could have lead to DoS (bsc#1020443)
- CVE-2017-5506: Missing offset check leading to a double-free (bsc#1020436)
- CVE-2017-5507: Fixed a memory leak when reading MPC files allowing for DoS (bsc#1020439)
- CVE-2017-5508: Increase the amount of memory allocated for TIFF pixels to prevent a heap buffer-overflow (bsc#1020441)
- CVE-2017-5510: Prevent out-of-bounds write when reading PSD files (bsc#1020446).
- CVE-2017-5511: A missing cast when reading PSD files could have caused memory corruption by a heap overflow (bsc#1020448)
This update removes the fix for CVE-2016-9773. ImageMagick-6 was not affected by CVE-2016-9773 and it caused a regression (at least in GraphicsMagick) (bsc#1017421).
- Record
SUSE-SU-2017:0529-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:0586-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2016-10046: Prevent buffer overflow in draw.c caused by an incorrect length calculation (bsc#1017308)
- CVE-2016-10048: Arbitrary module could have been load because relative path were not escaped (bsc#1017310)
- CVE-2016-10049: Corrupt RLE files could have overflowed a buffer due to a incorrect length calculation (bsc#1017311)
- CVE-2016-10050: Corrupt RLE files could have overflowed a heap buffer due to a missing offset check (bsc#1017312)
- CVE-2016-10051: Fixed use after free when reading PWP files (bsc#1017313)
- CVE-2016-10052: Added bound check to exif parsing of JPEG files (bsc#1017314).
- CVE-2016-10059: Unchecked calculation when reading TIFF files could have lead to a buffer overflow (bsc#1017318)
- CVE-2016-10060: Improved error handling when writing files to not mask errors (bsc#1017319).
- CVE-2016-10063: Check validity of extend during TIFF file reading (bsc#1017320).
- CVE-2016-10064: Improved checks for buffer overflow when reading TIFF files (bsc#1017321)
- CVE-2016-10065: Unchecked calculations when reading VIFF files could have lead to out of bound reads (bsc#1017322)
- CVE-2016-10068: Prevent NULL pointer access when using the MSL interpreter (bsc#1017324)
- CVE-2016-10070: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
- CVE-2016-10071: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326).
- CVE-2016-10144: Added a check after allocating memory when parsing IPL files (bsc#1020433).
- CVE-2016-10145: Fixed of-by-one in string copy operation when parsing WPG files (bsc#1020435).
- CVE-2016-10146: Captions and labels were handled incorrectly, causing a memory leak that could have lead to DoS (bsc#1020443)
- CVE-2017-5506: Missing offset check leading to a double-free (bsc#1020436).
- CVE-2017-5507: Fixed a memory leak when reading MPC files allowing for DoS (bsc#1020439).
- CVE-2017-5508: Increase the amount of memory allocated for TIFF pixels to prevent a heap buffer-overflow (bsc#1020441).
- CVE-2017-5511: A missing cast when reading PSD files could have caused memory corruption by a heap overflow (bsc#1020448)
This update removes the fix for CVE-2016-9773. ImageMagick-6 was not affected by CVE-2016-9773 and it caused a regression (at least in GraphicsMagick) (bsc#1017421).
- Record
SUSE-SU-2017:0586-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.6.2+dfsg-2 | 8:6.9.6.2+dfsg-2 |
imagemagickDebian:13 |
before 8:6.9.6.2+dfsg-2 | 8:6.9.6.2+dfsg-2 |
imagemagickDebian:14 |
before 8:6.9.6.2+dfsg-2 | 8:6.9.6.2+dfsg-2 |
imagemagickDebian:7 From an advisory covering 94 CVEs |
before 8:6.7.7.10-5+deb7u8, plus listed versions 8:6.7.7.10-58:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u58:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u7 |
8:6.7.7.10-5+deb7u8 |
imagemagickDebian:8 From an advisory covering 52 CVEs |
before 8:6.8.9.9-5+deb8u4, plus listed versions 8:6.8.9.9-58:6.8.9.9-5+deb8u18:6.8.9.9-5+deb8u28:6.8.9.9-5+deb8u3 |
8:6.8.9.9-5+deb8u4 |
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 |
Show 33 moreShow less
| Package | Affected | Fixed |
|---|---|---|
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 |
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 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 11 CVEs |
before 1.2.5-4.62.1 | 1.2.5-4.62.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 11 CVEs |
before 1.2.5-4.62.1 | 1.2.5-4.62.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP1 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP1 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 From an advisory covering 25 CVEs |
before 6.8.8.1-59.1 | 6.8.8.1-59.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 21 CVEs |
before 6.4.3.6-7.65.1 | 6.4.3.6-7.65.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 21 CVEs |
before 6.4.3.6-7.65.1 | 6.4.3.6-7.65.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 21 CVEs |
before 6.4.3.6-7.65.1 | 6.4.3.6-7.65.1 |
imagemagickUbuntu:14.04:LTS |
before 8:6.7.7.10-6ubuntu3.2, plus listed versions 8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu38:6.7.7.10-6ubuntu3.1 |
8:6.7.7.10-6ubuntu3.2 |
imagemagickUbuntu:16.04:LTS |
before 8:6.8.9.9-7ubuntu5.2, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 5 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.1 |
8:6.8.9.9-7ubuntu5.2 |
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-2016-10051 is a high vulnerability (CVSS 7.8) in Imagemagick, published August 25, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.93%, the 80th percentile. Fixed in imagemagick 8:6.9.6.2+dfsg-2.
References
github.com/ImageMagick/ImageMagick/commit/ecc03a2518c2b7dd375fde3a040fdae0bdf6a521
securityfocus.com/bid/95187
lists.opensuse.org/opensuse-updates/2017-02/msg00028.html
imagemagick.org/discourse-server/viewtopic.php?f=3&t=30245
lists.opensuse.org/opensuse-updates/2017-02/msg00031.html
bugzilla.redhat.com/show_bug.cgi?id=1410456
Show 62 moreShow less
openwall.com/lists/oss-security/2016/12/26/9
github.com/ImageMagick/ImageMagick/commit/548701354191a3dda5cffc6d415374b35b01d0b9
nvd.nist.gov/vuln/detail/CVE-2016-10051
github.com/advisories/GHSA-7jp3-x6j5-68rr
security-tracker.debian.org/tracker/CVE-2016-10051
advisories.mageia.org/MGASA-2018-0229.html
bugs.mageia.org/show_bug.cgi?id=19078
git.imagemagick.org/repos/ImageMagick/blob/ImageMagick-6/ChangeLog
suse.com/support/update/announcement/2017/suse-su-20170518-1
bugzilla.suse.com/1017310
bugzilla.suse.com/1017311
bugzilla.suse.com/1017312
bugzilla.suse.com/1017313
bugzilla.suse.com/1017318
bugzilla.suse.com/1017321
bugzilla.suse.com/1017322
bugzilla.suse.com/1017324
bugzilla.suse.com/1017326
bugzilla.suse.com/1020443
bugzilla.suse.com/1020448
suse.com/security/cve/CVE-2016-10048
suse.com/security/cve/CVE-2016-10049
suse.com/security/cve/CVE-2016-10050
suse.com/security/cve/CVE-2016-10051
suse.com/security/cve/CVE-2016-10059
suse.com/security/cve/CVE-2016-10064
suse.com/security/cve/CVE-2016-10065
suse.com/security/cve/CVE-2016-10068
suse.com/security/cve/CVE-2016-10070
suse.com/security/cve/CVE-2016-10146
suse.com/security/cve/CVE-2017-5511
suse.com/support/update/announcement/2017/suse-su-20170529-1
bugzilla.suse.com/1017308
bugzilla.suse.com/1017314
bugzilla.suse.com/1017319
bugzilla.suse.com/1017320
bugzilla.suse.com/1017325
bugzilla.suse.com/1017421
bugzilla.suse.com/1020433
bugzilla.suse.com/1020435
bugzilla.suse.com/1020436
bugzilla.suse.com/1020439
bugzilla.suse.com/1020441
bugzilla.suse.com/1020446
suse.com/security/cve/CVE-2016-10046
suse.com/security/cve/CVE-2016-10052
suse.com/security/cve/CVE-2016-10060
suse.com/security/cve/CVE-2016-10061
suse.com/security/cve/CVE-2016-10062
suse.com/security/cve/CVE-2016-10063
suse.com/security/cve/CVE-2016-10069
suse.com/security/cve/CVE-2016-10071
suse.com/security/cve/CVE-2016-10144
suse.com/security/cve/CVE-2016-10145
suse.com/security/cve/CVE-2017-5506
suse.com/security/cve/CVE-2017-5507
suse.com/security/cve/CVE-2017-5508
suse.com/security/cve/CVE-2017-5510
suse.com/support/update/announcement/2017/suse-su-20170586-1
ubuntu.com/security/CVE-2016-10051
openwall.com/lists/oss-security/2016/12/20/3
cve.org/CVERecord?id=CVE-2016-10051