CVE-2018-16412
published 2018-09-03CVE-2018-16412: ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.
PriorityP339high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
4.48%
90.4th percentile
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.
Affected
7 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 |
| opensuse | leap | — | — |
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-qhmx-5r65-gg8m: ImageMagick 7
ghsa_unreviewed·2022-05-13
CVE-2018-16412 [HIGH] CWE-125 GHSA-qhmx-5r65-gg8m: ImageMagick 7
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.
OSV
CVE-2018-16412: ImageMagick 7
osv·2018-09-03·CVSS 8.8
CVE-2018-16412 [HIGH] CVE-2018-16412: ImageMagick 7
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.
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 ParseImageResourceBlocks function in coders/psd.c
vendor_redhat·2018-08-19·CVSS 8.8
CVE-2018-16412 [HIGH] CWE-125 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c
ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.
Statement: This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.
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-16412: imagemagick - ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c P...
vendor_debian·2018·CVSS 8.8
CVE-2018-16412 [HIGH] CVE-2018-16412: imagemagick - ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c P...
ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in 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)
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-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c [fedora-all]
bugzilla·2018-09-04·CVSS 8.8
CVE-2018-16412 [HIGH] CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c [fedora-all]
CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.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
Bugzilla
CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c
bugzilla·2018-09-04·CVSS 8.8
CVE-2018-16412 [HIGH] CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c
CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c
A flaw was found in ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.
References:
https://github.com/ImageMagick/ImageMagick/issues/1250
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1625432]
---
Statement:
This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.
---
Upstream patch:
https://github.com/ImageMagick/ImageMagick6/commit/4745eb1047617330141e9abfd5ae01236a71ae12
---
ParseImageResourceBlocks function in coders/psd.c does not check if the the read value plus the
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.htmlhttp://www.securityfocus.com/bid/105241https://github.com/ImageMagick/ImageMagick/issues/1250https://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-04/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.htmlhttp://www.securityfocus.com/bid/105241https://github.com/ImageMagick/ImageMagick/issues/1250https://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