CVE-2015-8895
published 2017-03-15CVE-2015-8895: Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote attackers to cause a denial of service (application crash) via a crafted…
PriorityP434high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
4.57%
90.6th percentile
Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote attackers to cause a denial of service (application crash) via a crafted length value, which triggers a buffer overflow.
Affected
79 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.8.9.9-7 (bookworm) | imagemagick 8:6.8.9.9-7 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/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.5HIGH
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.
GHSA
GHSA-4gmx-957c-c87v: Integer overflow in coders/icon
ghsa_unreviewed·2022-05-14
CVE-2015-8895 [HIGH] CWE-190 GHSA-4gmx-957c-c87v: Integer overflow in coders/icon
Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote attackers to cause a denial of service (application crash) via a crafted length value, which triggers a buffer overflow.
OSV
CVE-2015-8895: Integer overflow in coders/icon
osv·2017-03-15·CVSS 7.5
CVE-2015-8895 [HIGH] CVE-2015-8895: Integer overflow in coders/icon
Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote attackers to cause a denial of service (application crash) via a crafted length value, which triggers a buffer overflow.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2016-11-21
CVE-2014-8354 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: Integer and buffer overflow in coders/icon.c
vendor_redhat·2015-05-28·CVSS 7.5
CVE-2015-8895 [HIGH] CWE-190 ImageMagick: Integer and buffer overflow in coders/icon.c
ImageMagick: Integer and buffer overflow in coders/icon.c
Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote attackers to cause a denial of service (application crash) via a crafted length value, which triggers a buffer overflow.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Affected
Debian
CVE-2015-8895: imagemagick - Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote...
vendor_debian·2015·CVSS 7.5
CVE-2015-8895 [HIGH] CVE-2015-8895: imagemagick - Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote...
Integer overflow in coders/icon.c in ImageMagick 6.9.1-3 and later allows remote attackers to cause a denial of service (application crash) via a crafted length value, which triggers a buffer overflow.
Scope: local
bookworm: resolved (fixed in 8:6.8.9.9-7)
bullseye: resolved (fixed in 8:6.8.9.9-7)
forky: resolved (fixed in 8:6.8.9.9-7)
sid: resolved (fixed in 8:6.8.9.9-7)
trixie: resolved (fixed in 8:6.8.9.9-7)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.c [fedora-all]
bugzilla·2015-10-07·CVSS 7.5
CVE-2015-8895 [HIGH] CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.c [fedora-all]
CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.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.
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 supported versi
Bugzilla
CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.c
bugzilla·2015-10-07·CVSS 7.5
CVE-2015-8895 [HIGH] CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.c
CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.c
A vulnerability of integer overflow and subsequent buffer overflow was found in coders/icon.c. Memory is allocated based on the sum of a user-supplied value and a fixed value. That sum can overflow, causing only a small amount of memory to be allocated, while the program assumes more was allocated.
Vulnerable code:
icon_file.directory[i].offset=ReadBlobLSBLong(image);
On this line, it reads in 4byte value from the image and stores it in icon_file.directory[i].size.
length=icon_file.directory[i].size;
png=(unsigned char *) AcquireQuantumMemory(length+16,sizeof(*png));
Here the value of `length` is set to the value stored in icon_file.directory[i].size. At following line, 16 is added to `length` and allocates that
http://www.openwall.com/lists/oss-security/2016/06/02/13http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/91025https://access.redhat.com/errata/RHSA-2016:1237https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1459747https://github.com/ImageMagick/ImageMagick/commit/0f6fc2d5bf8f500820c3dbcf0d23ee14f2d9f734http://www.openwall.com/lists/oss-security/2016/06/02/13http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/91025https://access.redhat.com/errata/RHSA-2016:1237https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1459747https://github.com/ImageMagick/ImageMagick/commit/0f6fc2d5bf8f500820c3dbcf0d23ee14f2d9f734
2017-03-15
Published