CVE-2018-16413
published 2018-09-03CVE-2018-16413: ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c…
PriorityP339high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
4.23%
90.0th percentile
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c ParseImageResourceBlocks function.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 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 |
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.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2024-08-22
CVE-2018-18025 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.
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: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h
vendor_redhat·2018-08-19·CVSS 8.8
CVE-2018-16413 [HIGH] CWE-125 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h
ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c ParseImageResourceBlocks function.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 6) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 7) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-16413: imagemagick - ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/qua...
vendor_debian·2018·CVSS 8.8
CVE-2018-16413 [HIGH] CVE-2018-16413: imagemagick - ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/qua...
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c ParseImageResourceBlocks function.
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)
GHSA
GHSA-8gp4-gv99-3gcw: ImageMagick 7
ghsa_unreviewed·2022-05-13
CVE-2018-16413 [HIGH] CWE-125 GHSA-8gp4-gv99-3gcw: ImageMagick 7
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c ParseImageResourceBlocks function.
OSV
CVE-2018-16413: ImageMagick 7
osv·2018-09-03·CVSS 8.8
CVE-2018-16413 [HIGH] CVE-2018-16413: ImageMagick 7
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c ParseImageResourceBlocks function.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16413 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h
bugzilla·2018-09-04·CVSS 8.8
CVE-2018-16413 [HIGH] CVE-2018-16413 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h
CVE-2018-16413 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h
A flaw was found in ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the MagickCore/quantum-private.h PushShortPixel function when called from the coders/psd.c ParseImageResourceBlocks function.
References:
https://github.com/ImageMagick/ImageMagick/issues/1249
https://github.com/ImageMagick/ImageMagick/issues/1251
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1625431]
---
Upstream patches:
https://github.com/ImageMagick/ImageMagick6/commit/4745eb1047617330141e9abfd5ae01236a71ae12
https://github.com/ImageMagick/ImageMagick/commit/17a1a6f97fd088a71931bdc422f4e96bb6ffc549
---
This seems a duplicate of CVE-2018-1
Bugzilla
CVE-2018-16413 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h [fedora-all]
bugzilla·2018-09-04·CVSS 8.8
CVE-2018-16413 [HIGH] CVE-2018-16413 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h [fedora-all]
CVE-2018-16413 ImageMagick: heap-based buffer over-read in the PushShortPixel function in MagickCore/quantum-private.h [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.
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.htmlhttp://www.securityfocus.com/bid/105241https://github.com/ImageMagick/ImageMagick/issues/1249https://github.com/ImageMagick/ImageMagick/issues/1251https://lists.debian.org/debian-lts-announce/2018/10/msg00002.htmlhttps://usn.ubuntu.com/4034-1/https://www.debian.org/security/2018/dsa-4316http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.htmlhttp://www.securityfocus.com/bid/105241https://github.com/ImageMagick/ImageMagick/issues/1249https://github.com/ImageMagick/ImageMagick/issues/1251https://lists.debian.org/debian-lts-announce/2018/10/msg00002.htmlhttps://usn.ubuntu.com/4034-1/https://www.debian.org/security/2018/dsa-4316
2018-09-03
Published