9.8
CRITICAL CVSS 3.1
CVE-2017-13139
ImageMagick MNG CLIP Chunk Out-of-Bounds Read Vulnerability
Description

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.

INFO

Published Date :

Aug. 23, 2017, 6:29 a.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2017-13139 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Imagemagick imagemagick
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 CRITICAL [email protected]
Solution
This vulnerability can be remediated by updating the affected ImageMagick packages.
  • Update ImageMagick to a patched version.
  • For Debian, upgrade the imagemagick packages.
  • For SUSE, use YaST online_update or zypper patch.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-13139 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-13139 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-13139 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-13139 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/100494
    Added Reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870109
    Added Reference https://github.com/ImageMagick/ImageMagick/commit/d072ed6aff835c174e856ce3a428163c0da9e8f4
    Added Reference https://security.gentoo.org/glsa/201711-07
    Added Reference https://usn.ubuntu.com/3681-1/
    Added Reference https://www.debian.org/security/2017/dsa-4019
    Added Reference https://www.debian.org/security/2017/dsa-4040
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 14, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/100494 No Types Assigned http://www.securityfocus.com/bid/100494 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/d072ed6aff835c174e856ce3a428163c0da9e8f4 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/d072ed6aff835c174e856ce3a428163c0da9e8f4 Patch, Vendor Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201711-07 No Types Assigned https://security.gentoo.org/glsa/201711-07 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3681-1/ No Types Assigned https://usn.ubuntu.com/3681-1/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2017/dsa-4019 No Types Assigned https://www.debian.org/security/2017/dsa-4019 Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2017/dsa-4040 No Types Assigned https://www.debian.org/security/2017/dsa-4040 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Oct. 07, 2020

    Action Type Old Value New Value
    Removed Reference https://github.com/ImageMagick/ImageMagick/commit/22e0310345499ffe906c604428f2a3a668942b05 [Patch, Third Party Advisory]
    Added Reference https://github.com/ImageMagick/ImageMagick/commit/d072ed6aff835c174e856ce3a428163c0da9e8f4 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 14, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3681-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 19, 2017

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2017/dsa-4040 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 13, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201711-07 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 07, 2017

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2017/dsa-4019 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 30, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/100494 [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 25, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870109 No Types Assigned https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870109 Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/22e0310345499ffe906c604428f2a3a668942b05 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/22e0310345499ffe906c604428f2a3a668942b05 Patch, Third Party Advisory
    Added CWE CWE-125
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:6.9.9-0:*:*:*:*:*:*:* (and previous) *cpe:2.3:a:imagemagick:imagemagick:7.0.0-0:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-5:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-6:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-7:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-8:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-9:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.1-10:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-0:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-1:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-2:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-3:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-4:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-5:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-6:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-7:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-8:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-9:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.2-10:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-0:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-1:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-2:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-3:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-4:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-5:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-6:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-7:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-8:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-9:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.3-10:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-0:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-1:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-2:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-3:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-4:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-5:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-6:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-7:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-8:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-9:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.4-10:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-0:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-1:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-2:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-3:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-4:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-5:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-6:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-7:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-8:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.5-10:*:*:*:*:*:*:* *cpe:2.3:a:imagemagick:imagemagick:7.0.6-0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.95 }} 0.07%

score

0.75371

percentile