CVE-2018-12599
published 2018-06-20CVE-2018-12599: In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
PriorityP343high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
3.29%
87.2th percentile
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.10.2+dfsg-2 (bookworm) | imagemagick 8:6.9.10.2+dfsg-2 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
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-3gpg-jmj2-prg2: In ImageMagick 7
ghsa_unreviewed·2022-05-14
CVE-2018-12599 [HIGH] CWE-787 GHSA-3gpg-jmj2-prg2: In ImageMagick 7
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
OSV
CVE-2018-12599: In ImageMagick 7
osv·2018-06-20·CVSS 8.8
CVE-2018-12599 [HIGH] CVE-2018-12599: In ImageMagick 7
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-07-11
CVE-2018-12599 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.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c
vendor_redhat·2018-06-19·CVSS 8.8
CVE-2018-12599 [HIGH] CWE-122 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c
ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 8) - Will not fix
Debian
CVE-2018-12599: imagemagick - In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow...
vendor_debian·2018·CVSS 8.8
CVE-2018-12599 [HIGH] CVE-2018-12599: imagemagick - In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow...
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
Scope: local
bookworm: resolved (fixed in 8:6.9.10.2+dfsg-2)
bullseye: resolved (fixed in 8:6.9.10.2+dfsg-2)
forky: resolved (fixed in 8:6.9.10.2+dfsg-2)
sid: resolved (fixed in 8:6.9.10.2+dfsg-2)
trixie: resolved (fixed in 8:6.9.10.2+dfsg-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-12599 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c
bugzilla·2018-06-22·CVSS 8.8
CVE-2018-12599 [HIGH] CVE-2018-12599 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c
CVE-2018-12599 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c
A flaw was found in ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
References:
https://github.com/ImageMagick/ImageMagick/issues/1177
Patch:
https://github.com/ImageMagick/ImageMagick6/commit/081f518eb9cb38e683b8b9ccb9e4ab5c52f82c2f
https://github.com/ImageMagick/ImageMagick/commit/ae04fa4be910255e5d363edebd77adeee99a525d
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1594420]
---
When writing a BMP file, ImageMagick incorrectly allocates the pixel_info array on the heap, using the wrong size. When converting a crafted image file to the BMP format, this
Bugzilla
CVE-2018-12599 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c [fedora-all]
bugzilla·2018-06-22·CVSS 8.8
CVE-2018-12599 [HIGH] CVE-2018-12599 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.c [fedora-all]
CVE-2018-12599 ImageMagick: out of bounds write in ReadBMPImage and WriteBMPImage in coders/bmp.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 issue af
https://github.com/ImageMagick/ImageMagick/issues/1177https://lists.debian.org/debian-lts-announce/2018/06/msg00004.htmlhttps://usn.ubuntu.com/3711-1/https://www.debian.org/security/2018/dsa-4245https://github.com/ImageMagick/ImageMagick/issues/1177https://lists.debian.org/debian-lts-announce/2018/06/msg00004.htmlhttps://usn.ubuntu.com/3711-1/https://www.debian.org/security/2018/dsa-4245
2018-06-20
Published