CVE-2018-16645
published 2018-09-06CVE-2018-16645: There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which…
PriorityP427medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
3.21%
86.8th percentile
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.10.14+dfsg-1 (bookworm) | imagemagick 8:6.9.10.14+dfsg-1 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.14+dfsg-1 | 8:6.9.10.14+dfsg-1 |
| imagemagick | imagemagick | >= 0 < 8:6.7.7.10-6ubuntu3.13 | 8:6.7.7.10-6ubuntu3.13 |
| imagemagick | imagemagick | >= 0 < 8:6.8.9.9-7ubuntu5.13 | 8:6.8.9.9-7ubuntu5.13 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-16ubuntu6.4 | 8:6.9.7.4+dfsg-16ubuntu6.4 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
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.
GHSA
GHSA-8c76-7g9q-8v4r: There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp
ghsa_unreviewed·2022-05-13
CVE-2018-16645 [MEDIUM] CWE-770 GHSA-8c76-7g9q-8v4r: There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
OSV
imagemagick vulnerabilities
osv·2018-10-04·CVSS 6.5
[MEDIUM] imagemagick vulnerabilities
imagemagick vulnerabilities
Due to a large number of issues discovered in GhostScript that prevent
it from being used by ImageMagick safely, this update 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.
It was discovered that several memory leaks existed when handling
certain images in ImageMagick. An attacker could use this to cause a
denial of service. (CVE-2018-14434, CVE-2018-14435, CVE-2018-14436,
CVE-2018-14437, CVE-2018-16640, CVE-2018-16750)
It was discovered that ImageMagick did not properly initialize a
variable before using it when processing MAT images. An attacker could
use this to cause a denial of service or possibly ex
OSV
CVE-2018-16645: There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp
osv·2018-09-06·CVSS 6.5
CVE-2018-16645 [MEDIUM] CVE-2018-16645: There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
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
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-10-04·CVSS 6.5
CVE-2018-14434 [MEDIUM] ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
Due to a large number of issues discovered in GhostScript that prevent
it from being used by ImageMagick safely, this update 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.
It was discovered that several memory leaks existed when handling
certain images in ImageMagick. An attacker could use this to cause a
denial of service. (CVE-2018-14434, CVE-2018-14435, CVE-2018-14436,
CVE-2018-14437, CVE-2018-16640, CVE-2018-16750)
It was discovered that ImageMagick did not properly initialize a
variable before using it when processing MAT images. An
Red Hat
ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c
vendor_redhat·2018-08-27·CVSS 6.5
CVE-2018-16645 [MEDIUM] CWE-400 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c
ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
Statement: This issue affects the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Red Hat Enterprise Linux 6 is now in Maintenance Support
Debian
CVE-2018-16645: imagemagick - There is an excessive memory allocation issue in the functions ReadBMPImage of c...
vendor_debian·2018·CVSS 6.5
CVE-2018-16645 [MEDIUM] CVE-2018-16645: imagemagick - There is an excessive memory allocation issue in the functions ReadBMPImage of c...
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
Scope: local
bookworm: resolved (fixed in 8:6.9.10.14+dfsg-1)
bullseye: resolved (fixed in 8:6.9.10.14+dfsg-1)
forky: resolved (fixed in 8:6.9.10.14+dfsg-1)
sid: resolved (fixed in 8:6.9.10.14+dfsg-1)
trixie: resolved (fixed in 8:6.9.10.14+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16645 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c [fedora-all]
bugzilla·2018-09-07·CVSS 6.5
CVE-2018-16645 [MEDIUM] CVE-2018-16645 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c [fedora-all]
CVE-2018-16645 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c [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 iss
Bugzilla
CVE-2018-16645 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c
bugzilla·2018-09-07·CVSS 6.5
CVE-2018-16645 [MEDIUM] CVE-2018-16645 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c
CVE-2018-16645 ImageMagick: Out-of-memory ReadBMPImage of coders/bmp.c and ReadDIBImage of codes/dib.c
There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.
References:
https://github.com/ImageMagick/ImageMagick/issues/1268
Upstream Patch:
https://github.com/ImageMagick/ImageMagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1626612]
---
Statement:
This issue affects the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Red Hat Enterprise Linux 5 is now in Extended Life Phase of the s
https://github.com/ImageMagick/ImageMagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832https://github.com/ImageMagick/ImageMagick/issues/1268https://lists.debian.org/debian-lts-announce/2018/10/msg00002.htmlhttps://usn.ubuntu.com/3785-1/https://usn.ubuntu.com/4034-1/https://www.debian.org/security/2018/dsa-4316https://github.com/ImageMagick/ImageMagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832https://github.com/ImageMagick/ImageMagick/issues/1268https://lists.debian.org/debian-lts-announce/2018/10/msg00002.htmlhttps://usn.ubuntu.com/3785-1/https://usn.ubuntu.com/4034-1/https://www.debian.org/security/2018/dsa-4316
2018-09-06
Published