Every CVE Search/ Get API key

CVE-2017-13139

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png...

9.8 CriticalFix available

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.82%Up 2.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
CVE-2017-13139
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
CVE-2017-13139
Updated
2026-11-02
EUVDEUVD-2017-4656 No score

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
EUVD-2017-4656
Updated
2026-11-03
GitHub AdvisoriesGHSA-pj36-9rxw-2h2x 9.8

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png...

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
GHSA-pj36-9rxw-2h2x
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 9.8

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
CVE-2017-13139
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-13139 9.8

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
DEBIAN-CVE-2017-13139
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2017-13139 9.8

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.

Record
UBUNTU-CVE-2017-13139
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/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:2949-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

Security issues fixed:

  • CVE-2017-15033: A denial of service attack (memory leak) was fixed in ReadYUVImage in coders/yuv.c [bsc#1061873]
  • CVE-2017-11446: An infinite loop in ReadPESImage was fixed. (bsc#1049379)
  • CVE-2017-12433: A memory leak in ReadPESImage in coders/pes.c was fixed. (bsc#1052545)
  • CVE-2017-12428: A memory leak in ReadWMFImage in coders/wmf.c was fixed. (bsc#1052249)
  • CVE-2017-12431: A use-after-free in ReadWMFImage was fixed. (bsc#1052253)
  • CVE-2017-11534: A memory leak in the lite_font_map() in coders/wmf.c was fixed. (bsc#1050135)
  • CVE-2017-13133: A memory exhaustion in load_level function in coders/xcf.c was fixed. (bsc#1055219)
  • CVE-2017-13139: A out-of-bounds read in the ReadOneMNGImage was fixed. (bsc#1055430)

This update also reverts an incorrect fix for CVE-2016-7530 [bsc#1054924].

Record
SUSE-SU-2017:2949-1
Updated
2026-11-02
OSVSUSE-SU-2017:3056-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2017-15033: A denial of service attack (memory leak) in ReadYUVImage in coders/yuv.c was fixed (bsc#1061873)
  • CVE-2017-13063: A heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c was fixed (bsc#1055050)
  • CVE-2017-13064: A heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c was fixed (bsc#1055042)
  • CVE-2017-12936: The ReadWMFImage function in coders/wmf.c in GraphicsMagick had a use-after-free issue for data associated with exception reporting. (bsc#1054598)
  • CVE-2017-13139: The ReadOneMNGImage function in coders/png.c had an out-of-bounds read with the MNG CLIP chunk. (bsc#1055430)
  • CVE-2017-12937: The ReadSUNImage function in coders/sun.c in GraphicsMagick had a colormap heap-based buffer over-read. (bsc#1054596)
  • CVE-2017-11534: A Memory Leak in the lite_font_map() function in coders/wmf.c was fixed (bsc#1050135)
Record
SUSE-SU-2017:3056-1
Updated
2026-11-02
OSVSUSE-SU-2017:3168-1 No score

Security update for ImageMagick

This update for ImageMagick fixes several issues.

These security issues were fixed:

  • CVE-2017-11534: Processing a crafted file in convert could have lead to a Memory Leak in the lite_font_map() function in coders/wmf.c (bsc#1050135).
  • CVE-2017-13133: The load_level function in coders/xcf.c lacked offset validation, which allowed attackers to cause a denial of service (load_tile memory exhaustion) via a crafted file (bsc#1055219).
  • CVE-2017-13139: The ReadOneMNGImage function in coders/png.c had an out-of-bounds read with the MNG CLIP chunk (bsc#1055430).
  • CVE-2017-15033: Fixed a memory leak in ReadYUVImage in coders/yuv.c (bsc#1061873).
Record
SUSE-SU-2017:3168-1
Updated
2026-11-02
OSVUSN-3681-1 No score

imagemagick vulnerabilities

It was discovered that ImageMagick incorrectly handled certain malformed image files. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service or possibly execute code with the privileges of the user invoking the program.

Record
USN-3681-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:13
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:14
before 8:6.9.7.4+dfsg-15
8:6.9.7.4+dfsg-15
imagemagick
Debian:7
From an advisory covering 74 CVEs
before 8:6.7.7.10-5+deb7u16, plus listed versions
8:6.7.7.10-58:6.7.7.10-5+deb7u108:6.7.7.10-5+deb7u118:6.7.7.10-5+deb7u128:6.7.7.10-5+deb7u13
Show 10 moreShow less
8:6.7.7.10-5+deb7u148:6.7.7.10-5+deb7u158: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+deb7u78:6.7.7.10-5+deb7u88:6.7.7.10-5+deb7u9
8:6.7.7.10-5+deb7u16
imagemagick
Debian:9
From an advisory covering 22 CVEs
before 8:6.9.7.4+dfsg-11+deb9u2, plus listed versions
8:6.9.7.4+dfsg-118:6.9.7.4+dfsg-11+deb9u1
8:6.9.7.4+dfsg-11+deb9u2
imagemagick
Debian:8
From an advisory covering 17 CVEs
before 8:6.8.9.9-5+deb8u11, plus listed versions
8:6.8.9.9-58:6.8.9.9-5+deb8u18:6.8.9.9-5+deb8u108:6.8.9.9-5+deb8u28:6.8.9.9-5+deb8u3
Show 6 moreShow less
8:6.8.9.9-5+deb8u48:6.8.9.9-5+deb8u58:6.8.9.9-5+deb8u68:6.8.9.9-5+deb8u78:6.8.9.9-5+deb8u88:6.8.9.9-5+deb8u9
8:6.8.9.9-5+deb8u11
converseen
Mageia:6
From an advisory covering 104 CVEs
before 0.9.6.2-1.3.mga6
0.9.6.2-1.3.mga6
cuneiform-linux
Mageia:6
From an advisory covering 104 CVEs
before 1.1.0-9.2.mga6
1.1.0-9.2.mga6
dvdauthor
Mageia:6
From an advisory covering 104 CVEs
before 0.7.2-2.2.mga6
0.7.2-2.2.mga6
emacs
Mageia:6
From an advisory covering 104 CVEs
before 24.5-8.3.mga6
24.5-8.3.mga6
Show 37 moreShow less
Affected packages
PackageAffectedFixed
imagemagick
Mageia:6
From an advisory covering 104 CVEs
before 6.9.9.41-1.mga6
6.9.9.41-1.mga6
inkscape
Mageia:6
From an advisory covering 104 CVEs
before 0.92.1-2.2.mga6
0.92.1-2.2.mga6
k3d
Mageia:6
From an advisory covering 104 CVEs
before 0.8.0.5-5.2.mga6
0.8.0.5-5.2.mga6
kxstitch
Mageia:6
From an advisory covering 104 CVEs
before 2.0.0-2.2.mga6
2.0.0-2.2.mga6
libopenshot
Mageia:6
From an advisory covering 104 CVEs
before 0.1.8-1.2.mga6
0.1.8-1.2.mga6
ocaml-glmlite
Mageia:6
From an advisory covering 104 CVEs
before 0.03.51-17.2.mga6
0.03.51-17.2.mga6
perl-Image-SubImageFind
Mageia:6
From an advisory covering 104 CVEs
before 0.30.0-6.2.mga6
0.30.0-6.2.mga6
pfstools
Mageia:6
From an advisory covering 104 CVEs
before 2.0.6-3.2.mga6
2.0.6-3.2.mga6
php-imagick
Mageia:6
From an advisory covering 104 CVEs
before 3.4.1-6.2.mga6
3.4.1-6.2.mga6
php-magickwand
Mageia:6
From an advisory covering 104 CVEs
before 1.0.9.2-10.2.mga6
1.0.9.2-10.2.mga6
psiconv
Mageia:6
From an advisory covering 104 CVEs
before 0.9.8-26.2.mga6
0.9.8-26.2.mga6
pythonmagick
Mageia:6
From an advisory covering 104 CVEs
before 0.9.12-7.2.mga6
0.9.12-7.2.mga6
ruby-rmagick
Mageia:6
From an advisory covering 104 CVEs
before 2.15.4-12.2.mga6
2.15.4-12.2.mga6
synfig
Mageia:6
From an advisory covering 104 CVEs
before 1.2.1-2.2.mga6
1.2.1-2.2.mga6
vdr-plugin-skinelchi
Mageia:6
From an advisory covering 104 CVEs
before 0.2.8-8.2.mga6
0.2.8-8.2.mga6
vdr-plugin-skinenigmang
Mageia:6
From an advisory covering 104 CVEs
before 0.1.2-10.2.mga6
0.1.2-10.2.mga6
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP2
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP3
From an advisory covering 9 CVEs
before 6.8.8.1-71.12.1
6.8.8.1-71.12.1
GraphicsMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 7 CVEs
before 1.2.5-4.78.16.1
1.2.5-4.78.16.1
GraphicsMagick
SUSE:Studio Onsite 1.3
From an advisory covering 7 CVEs
before 1.2.5-4.78.16.1
1.2.5-4.78.16.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 4 CVEs
before 6.4.3.6-7.78.8.1
6.4.3.6-7.78.8.1
ImageMagick
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 4 CVEs
before 6.4.3.6-7.78.8.1
6.4.3.6-7.78.8.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 4 CVEs
before 6.4.3.6-7.78.8.1
6.4.3.6-7.78.8.1
imagemagick
Ubuntu:14.04:LTS
before 8:6.7.7.10-6ubuntu3.11, 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-6ubuntu3
Show 9 moreShow less
8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.78:6.7.7.10-6ubuntu3.88:6.7.7.10-6ubuntu3.9
8:6.7.7.10-6ubuntu3.11
imagemagick
Ubuntu:16.04:LTS
before 8:6.8.9.9-7ubuntu5.11, 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 13 moreShow less
8: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.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.9
8:6.8.9.9-7ubuntu5.11
imagemagick
Ubuntu:14.04:LTS
From an advisory covering 124 CVEs
before 8:6.7.7.10-6ubuntu3.11, 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-6ubuntu3
Show 9 moreShow less
8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.78:6.7.7.10-6ubuntu3.88:6.7.7.10-6ubuntu3.9
8:6.7.7.10-6ubuntu3.11
imagemagick
Ubuntu:16.04:LTS
From an advisory covering 124 CVEs
before 8:6.8.9.9-7ubuntu5.11, 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 13 moreShow less
8: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.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.9
8:6.8.9.9-7ubuntu5.11
imagemagick
Ubuntu:18.04:LTS
From an advisory covering 124 CVEs
before 8:6.9.7.4+dfsg-16ubuntu6.2, plus listed versions
8:6.9.7.4+dfsg-16ubuntu28:6.9.7.4+dfsg-16ubuntu38:6.9.7.4+dfsg-16ubuntu48:6.9.7.4+dfsg-16ubuntu58:6.9.7.4+dfsg-16ubuntu6
8:6.9.7.4+dfsg-16ubuntu6.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-13139 is a critical vulnerability (CVSS 9.8) in Imagemagick, published August 23, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.82%, the 90th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-15.

References

Show 162 moreShow less
MoveEnter Open