CVE-2019-13391 json
In ImageMagick 7.0.8-50 Q16, ComplexImages in MagickCore/fourier.c has a heap-based buffer over-read because of incorrect calls to GetCache…
published 2019-07-07 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-4885
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
In ImageMagick 7.0.8-50 Q16, ComplexImages in MagickCore/fourier.c has a heap-based buffer over-read because of incorrect calls to GetCacheViewVirtualPixels.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.11.24+dfsg-1
debian advisories DEBIAN-CVE-2019-13391
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.15
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.8
- imagemagick Ubuntu 20.04 LTS 8:6.9.10.23+dfsg-2.1ubuntu9
- imagemagick Ubuntu Pro 14.04 LTS 8:6.7.7.10-6ubuntu3.13+esm21
ubuntu advisories UBUNTU-CVE-2019-13391
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Desktop Applications 15 SP1 +1 more 7.0.7.34-3.67.1
- ImageMagick SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +2 more 6.8.8.1-71.126.1
suse advisories SUSE-SU-2019:2106-1SUSE-SU-2019:2010-1
- ImageMagick openSUSE Leap 15.1, openSUSE Leap 15.0 7.0.7.34-lp151.7.9.1
opensuse advisories openSUSE-SU-2019:1983-1
- imagemagick Alpine 3.10, Alpine 3.9, Alpine 3.8 6.9.10.53-r0
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 7.0.8.53-r0
- imagemagick6 Alpine 3.16, Alpine 3.15, Alpine 3.14 +7 more 6.9.10.53-r0
alpine advisories ALPINE-CVE-2019-13391
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor 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-13391 updated cvss 4.0
ImageMagick: heap-based buffer over-read in MagickCore/fourier.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlnot affected: vulnerable code not present
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.82% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ImageMagick/ImageMagick/issues/1588 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/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-125 Out-of-bounds Read
References
-
github.com
/ImageMagick/ImageMagick/commit/7c2c5ba5b8e3a0b2b82f56c71dfab74ed4006df7
patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick6/commit/f6ffc702c6eecd963587273a429dcd608c648984
patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/1588
exploit, issue-tracking, patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00069.html
vendor-advisory
-
usn.ubuntu.com
/4192-1/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/09/msg00007.html
mailing-list
Sources
- CVE List CVE-2019-13391
- NVD CVE-2019-13391
Fencer Vulns 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.