7.5
HIGH
CVE-2019-7397
ImageMagick GraphicsMagick Memory Leak
Description

In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.

INFO

Published Date :

Feb. 5, 2019, 12:29 a.m.

Last Modified :

April 28, 2021, 5:30 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2019-7397 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 Opensuse leap
1 Imagemagick imagemagick
1 Graphicsmagick graphicsmagick
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-7397.

URL Resource
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1 Patch Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html Broken Link Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html Broken Link
http://www.securityfocus.com/bid/106847 Third Party Advisory VDB Entry
https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82 Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/1454 Exploit Patch Third Party Advisory
https://usn.ubuntu.com/4034-1/ Third Party Advisory
https://www.debian.org/security/2020/dsa-4712 Third Party Advisory

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-2019-7397 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-7397 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 [email protected]

    May. 14, 2024

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

    Apr. 28, 2021

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html Third Party Advisory http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html Broken Link, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html Broken Link
    Changed Reference Type https://usn.ubuntu.com/4034-1/ No Types Assigned https://usn.ubuntu.com/4034-1/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2020/dsa-4712 No Types Assigned https://www.debian.org/security/2020/dsa-4712 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 7.0.8-25 OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 6.9.10-25 *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions from (including) 7.0.0-0 up to (excluding) 7.0.8-25
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-399 CWE-401
  • CVE Modified by [email protected]

    Jul. 01, 2020

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

    Jun. 25, 2019

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

    May. 03, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Apr. 12, 2019

    Action Type Old Value New Value
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 05, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Feb. 26, 2019

    Action Type Old Value New Value
    Changed Reference Type http://www.securityfocus.com/bid/106847 No Types Assigned http://www.securityfocus.com/bid/106847 Third Party Advisory, VDB Entry
    Changed Reference Type http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1 No Types Assigned http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1 Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* versions up to (including) 1.3.31
  • CVE Modified by [email protected]

    Feb. 18, 2019

    Action Type Old Value New Value
    Changed Description In ImageMagick before 7.0.8-25, several memory leaks exist in WritePDFImage in coders/pdf.c. In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
    Added Reference http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 06, 2019

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

    Feb. 05, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82 Patch, Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/issues/1454 No Types Assigned https://github.com/ImageMagick/ImageMagick/issues/1454 Exploit, Patch, Third Party Advisory
    Added CWE CWE-399
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 7.0.8-25
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.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-7397 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-2019-7397 weaknesses.

Exploit Prediction

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

0.70 }} 0.21%

score

0.80540

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability