8.8
HIGH
CVE-2019-17540
ImageMagick Heap-based Buffer Overflow
Description

ImageMagick before 7.0.8-54 has a heap-based buffer overflow in ReadPSInfo in coders/ps.c.

INFO

Published Date :

Oct. 14, 2019, 2:15 a.m.

Last Modified :

Nov. 7, 2023, 3:06 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2019-17540 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 Debian debian_linux
1 Imagemagick imagemagick
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-17540.

URL Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826 Issue Tracking Third Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942578 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/compare/master%40%7B2019-07-15%7D...master%40%7B2019-07-17%7D
https://security-tracker.debian.org/tracker/CVE-2019-17540 Patch 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-17540 vulnerability anywhere in the article.

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

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://github.com/ImageMagick/ImageMagick/compare/master%40%7B2019-07-15%7D...master%40%7B2019-07-17%7D [No types assigned]
    Removed Reference MITRE https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-17%7D
  • Modified Analysis by [email protected]

    Apr. 20, 2021

    Action Type Old Value New Value
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826 Third Party Advisory https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826 Issue Tracking, Third Party Advisory
    Changed Reference Type https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942578 No Types Assigned https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942578 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 No Types Assigned https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 Patch, Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-17%7D No Types Assigned https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-17%7D Third Party Advisory
    Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2019-17540 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2019-17540 Patch, Third Party Advisory
    Removed CWE NIST CWE-120
    Added CWE NIST CWE-787
    Changed CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 7.0.8-54 OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions from (including) 6.9.10-54 up to (excluding) 6.9.10-55 *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions from (including) 7.0.0-0 up to (excluding) 7.0.8-54
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 24, 2019

    Action Type Old Value New Value
    Removed Reference https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-16%7D [Patch, Third Party Advisory]
    Added Reference https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 [No Types Assigned]
    Added Reference https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-17%7D [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 23, 2019

    Action Type Old Value New Value
    Removed Reference https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 [Third Party Advisory]
    Added Reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942578 [No Types Assigned]
    Added Reference https://security-tracker.debian.org/tracker/CVE-2019-17540 [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 18, 2019

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826 No Types Assigned https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826 Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 No Types Assigned https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54 Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-16%7D No Types Assigned https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-16%7D Patch, Third Party Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 7.0.8-54
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-17540 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-17540 weaknesses.

Exploit Prediction

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

0.26 }} 0.04%

score

0.66097

percentile

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