CVE-2019-17540 json
ImageMagick before 7.0.8-54 has a heap-based buffer overflow in ReadPSInfo in coders/ps.c.
published 7y ago modified 4mo ago also EUVD-2019-7890
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
ImageMagick before 7.0.8-54 has a heap-based buffer overflow in ReadPSInfo in coders/ps.c.
Patch / fix
- imagemagick imagemagick 6.9.10-55, 7.0.8-54
- ImageMagick RHEL 7 6.9.10.68-3.el7
- emacs RHEL 7 1:24.3-23.el7
- emacs-el RHEL 7 1:24.3-23.el7
- inkscape RHEL 7 0.92.2-3.el7
- autotrace RHEL 7 0.31.1-38.el7
- emacs-nox RHEL 7 1:24.3-23.el7
- emacs-common RHEL 7 1:24.3-23.el7
- inkscape-view RHEL 7 0.92.2-3.el7
red hat advisories RHSA-2020:1180
- ImageMagick SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 6.8.8.1-71.177.1
- ImageMagick SLE Module for Development Tools 15 SP3, SLE Module for Desktop Applications 15 SP3, openSUSE Leap 15.4 +1 more 7.0.7.34-150200.10.31.1
- ImageMagick SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 7.0.7.34-150000.3.123.1
suse advisories SUSE-SU-2023:4634-1SUSE-SU-2022:2263-1SUSE-SU-2022:2259-1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 7.0.8.56-r0
alpine advisories ALPINE-CVE-2019-17540
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2019-17540 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-17540 updated cvss 8.8
ImageMagick: heap-based buffer overflow in ReadPSInfo in coders/ps.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux Client (v. 7) emacs 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, emacs-common 24.3-23.el7, ImageMagick 6.9.10.68-3.el7, emacs-filesystem 24.3-23.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) emacs-el 24.3-23.el7, autotrace 0.31.1-38.el7, emacs-terminal 24.3-23.el7, inkscape-view 0.92.2-3.el7, ImageMagick-perl 6.9.10.68-3.el7 Red Hat Enterprise Linux ComputeNode (v. 7) emacs 24.3-23.el7, emacs-filesystem 24.3-23.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) emacs 24.3-23.el7, emacs-el 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, autotrace 0.31.1-38.el7, emacs-common 24.3-23.el7, +5 more Red Hat Enterprise Linux Server (v. 7) emacs 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, emacs-common 24.3-23.el7, ImageMagick 6.9.10.68-3.el7, emacs-filesystem 24.3-23.el7, +2 more Red Hat Enterprise Linux Server Optional (v. 7) emacs-el 24.3-23.el7, inkscape 0.92.2-3.el7, autotrace 0.31.1-38.el7, emacs-terminal 24.3-23.el7, inkscape-view 0.92.2-3.el7, ImageMagick-c++ 6.9.10.68-3.el7fixed: vendor fix RHSA-2020:1180
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) emacs 24.3-23.el7, emacs-nox 24.3-23.el7, inkscape 0.92.2-3.el7, emacs-common 24.3-23.el7, ImageMagick 6.9.10.68-3.el7, emacs-filesystem 24.3-23.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) emacs-el 24.3-23.el7, autotrace 0.31.1-38.el7, emacs-terminal 24.3-23.el7, inkscape-view 0.92.2-3.el7
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54
patch, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=942578
issue-tracking, patch, third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2019-17540
patch, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=15826
issue-tracking, third-party-advisory
- github.com /ImageMagick/ImageMagick/compare/master%40%7B2019-07-15%7D...master%40%7B2019-07-17%7D
Sources
- CVE List CVE-2019-17540
- NVD CVE-2019-17540
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.