CVE-2017-12140
published 2017-08-02CVE-2017-12140: The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.
PriorityP426medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
2.23%
80.7th percentile
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.9.9.34+dfsg-3 (bookworm) | imagemagick 8:6.9.9.34+dfsg-3 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.9.34+dfsg-3 | 8:6.9.9.34+dfsg-3 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.07.1HIGHAV:N/AC:M/Au:N/C:N/I:N/A:C
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.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-fmx2-4qmc-7h5p: The ReadDCMImage function in coders\dcm
ghsa_unreviewed·2022-05-13
CVE-2017-12140 [HIGH] CWE-400 GHSA-fmx2-4qmc-7h5p: The ReadDCMImage function in coders\dcm
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.
OSV
CVE-2017-12140: The ReadDCMImage function in coders\dcm
osv·2017-08-02·CVSS 6.5
CVE-2017-12140 [MEDIUM] CVE-2017-12140: The ReadDCMImage function in coders\dcm
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-06-12
CVE-2017-1000445 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 signedness error in ReadDCMImage function
vendor_redhat·2017-06-29·CVSS 6.5
CVE-2017-12140 [MEDIUM] CWE-400 ImageMagick: integer signedness error in ReadDCMImage function
ImageMagick: integer signedness error in ReadDCMImage function
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM 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 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2017-12140: imagemagick - The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer ...
vendor_debian·2017·CVSS 6.5
CVE-2017-12140 [MEDIUM] CVE-2017-12140: imagemagick - The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer ...
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.
Scope: local
bookworm: resolved (fixed in 8:6.9.9.34+dfsg-3)
bullseye: resolved (fixed in 8:6.9.9.34+dfsg-3)
forky: resolved (fixed in 8:6.9.9.34+dfsg-3)
sid: resolved (fixed in 8:6.9.9.34+dfsg-3)
trixie: resolved (fixed in 8:6.9.9.34+dfsg-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-12140 ImageMagick: integer signedness error in ReadDCMImage function
bugzilla·2017-08-02·CVSS 6.5
CVE-2017-12140 [MEDIUM] CVE-2017-12140 ImageMagick: integer signedness error in ReadDCMImage function
CVE-2017-12140 ImageMagick: integer signedness error in ReadDCMImage function
The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an
integer signedness error leading to excessive memory consumption via a
crafted DCM file.
Upstream bug:
https://github.com/ImageMagick/ImageMagick/issues/533
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1477566]
Bugzilla
CVE-2017-12140 ImageMagick: integer signedness error in ReadDCMImage function [fedora-all]
bugzilla·2017-08-02·CVSS 6.5
CVE-2017-12140 [MEDIUM] CVE-2017-12140 ImageMagick: integer signedness error in ReadDCMImage function [fedora-all]
CVE-2017-12140 ImageMagick: integer signedness error in ReadDCMImage function [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 affects multiple suppo
http://www.securityfocus.com/bid/100096https://github.com/ImageMagick/ImageMagick/issues/533https://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlhttps://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlhttps://security.gentoo.org/glsa/201711-07https://usn.ubuntu.com/3681-1/http://www.securityfocus.com/bid/100096https://github.com/ImageMagick/ImageMagick/issues/533https://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlhttps://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlhttps://security.gentoo.org/glsa/201711-07https://usn.ubuntu.com/3681-1/
2017-08-02
Published