CVE-2019-7397
published 2019-02-05CVE-2019-7397: In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
3.80%
88.8th percentile
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | graphicsmagick | < graphicsmagick 1.4~hg15896-1 (bookworm) | graphicsmagick 1.4~hg15896-1 (bookworm) |
| debian | imagemagick | < graphicsmagick 1.4~hg15896-1 (bookworm) | graphicsmagick 1.4~hg15896-1 (bookworm) |
| graphicsmagick | graphicsmagick | <= 1.3.31 | — |
| graphicsmagick | graphicsmagick | >= 0 < 1.4~hg15896-1 | 1.4~hg15896-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4~hg15896-1 | 1.4~hg15896-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4~hg15896-1 | 1.4~hg15896-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4~hg15896-1 | 1.4~hg15896-1 |
| imagemagick | imagemagick | < 6.9.10-25 | 6.9.10-25 |
| imagemagick | imagemagick | >= 0 < 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
| imagemagick | imagemagick | >= 7.0.0-0 < 7.0.8-25 | 7.0.8-25 |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2024-10-15
CVE-2019-7398 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain
malformed image files. If a user or automated system using ImageMagick
were tricked into processing a specially crafted file, an attacker could
exploit this to cause a denial of service or affect the reliability of the
system. The vulnerabilities included memory leaks, buffer overflows, and
improper handling of pixel data.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2019-06-25
CVE-2017-12805 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain malformed
image files. If a user or automated system using ImageMagick were tricked
into opening a specially crafted image, an attacker could exploit this to
cause a denial of service or possibly execute code with the privileges of
the user invoking the program.
Due to a large number of issues discovered in GhostScript that prevent it
from being used by ImageMagick safely, the update for Ubuntu 18.10 and
Ubuntu 19.04 includes a default policy change that disables support for the
Postscript and PDF formats in ImageMagick. This policy can be overridden if
necessary by using an alternate ImageMagick policy configuration.
Instructions
Red Hat
ImageMagick: Memory leak in the WritePDFImage function in coders/pdf.c
vendor_redhat·2019-01-17·CVSS 7.5
CVE-2019-7397 [HIGH] CWE-400 ImageMagick: Memory leak in the WritePDFImage function in coders/pdf.c
ImageMagick: Memory leak in the WritePDFImage function 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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Debian
CVE-2019-7397: graphicsmagick - In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory...
vendor_debian·2019·CVSS 7.5
CVE-2019-7397 [HIGH] CVE-2019-7397: graphicsmagick - In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory...
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
Scope: local
bookworm: resolved (fixed in 1.4~hg15896-1)
bullseye: resolved (fixed in 1.4~hg15896-1)
forky: resolved (fixed in 1.4~hg15896-1)
sid: resolved (fixed in 1.4~hg15896-1)
trixie: resolved (fixed in 1.4~hg15896-1)
GHSA
GHSA-7pxc-hv76-qwg9: In ImageMagick before 7
ghsa_unreviewed·2022-05-13
CVE-2019-7397 [HIGH] CWE-401 GHSA-7pxc-hv76-qwg9: In ImageMagick before 7
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
OSV
CVE-2019-7397: In ImageMagick before 7
osv·2019-02-05·CVSS 7.5
CVE-2019-7397 [HIGH] CVE-2019-7397: In ImageMagick before 7
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-7395 CVE-2019-7396 CVE-2019-7397 CVE-2019-7398 ImageMagick: various flaws [fedora-all]
bugzilla·2019-02-05·CVSS 7.5
CVE-2019-7395 [HIGH] CVE-2019-7395 CVE-2019-7396 CVE-2019-7397 CVE-2019-7398 ImageMagick: various flaws [fedora-all]
CVE-2019-7395 CVE-2019-7396 CVE-2019-7397 CVE-2019-7398 ImageMagick: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2019-7397 ImageMagick: Memory leak in the WritePDFImage function in coders/pdf.c
bugzilla·2019-02-05·CVSS 7.5
CVE-2019-7397 [HIGH] CVE-2019-7397 ImageMagick: Memory leak in the WritePDFImage function in coders/pdf.c
CVE-2019-7397 ImageMagick: Memory leak in the WritePDFImage function in coders/pdf.c
In ImageMagick before 7.0.8-25, several memory leaks exist in WritePDFImage in coders/pdf.c.
References:
https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82
https://github.com/ImageMagick/ImageMagick/issues/1454
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1672590]
---
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82
---
ImageMagick6 commit:
https://github.com/ImageMagick/ImageMagick6/commit/3b28c8d93aa469f6d90c8b3c05fe3d88c2584e32
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2020:1180 https://access.redh
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.htmlhttp://www.securityfocus.com/bid/106847https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82https://github.com/ImageMagick/ImageMagick/issues/1454https://usn.ubuntu.com/4034-1/https://www.debian.org/security/2020/dsa-4712http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.htmlhttp://www.securityfocus.com/bid/106847https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82https://github.com/ImageMagick/ImageMagick/issues/1454https://usn.ubuntu.com/4034-1/https://www.debian.org/security/2020/dsa-4712
2019-02-05
Published