CVE-2018-11625
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a...
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
CVE-2018-11625- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
CVE-2018-11625- Updated
- 2026-11-02
EUVDEUVD-2018-3649 No score
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
EUVD-2018-3649- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3ww7-w2h2-5c4x
8.8
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a...
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
GHSA-3ww7-w2h2-5c4x- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
8.8
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
CVE-2018-11625- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-11625
8.8
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
DEBIAN-CVE-2018-11625- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-11625
8.8
In ImageMagick 7.0.7-37 Q16, SetGrayscaleImage in the quantize.c file allows attackers to cause a heap-based buffer over-read via a crafted file.
- Record
UBUNTU-CVE-2018-11625- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2018:2043-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
The following security vulnerabilities were fixed:
- CVE-2018-11625: Fixed heap-based buffer over-read in SetGrayscaleImage in the quantize.c file, which allowed remote attackers to cause buffer over-read via a crafted file. (bsc#1096200)
- CVE-2018-11624: Fixed a use-after-free issue in the ReadMATImage function in coders/mat.c. (bsc#1096203)
- CVE-2018-10805: Fixed several memory leaks in bgr.c, rgb.c, cmyk.c, gray.c, and ycbcr.c (bsc#1095812)
- CVE-2018-12600: The ReadDIBImage and WriteDIBImage functions allowed attackers to cause an out of bounds write via a crafted file (bsc#1098545).
- CVE-2018-12599: The ReadBMPImage and WriteBMPImage fucntions allowed attackers to cause an out of bounds write via a crafted file (bsc#1098546).
The following other changes were made:
- Fix -gamma issues in special cases. (bsc#1094745, bsc#1094742)
- Record
SUSE-SU-2018:2043-1- Updated
- 2026-11-02
OSVUSN-3681-1 No score
imagemagick vulnerabilities
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.
- Record
USN-3681-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
imagemagickDebian:13 |
before 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
imagemagickDebian:14 |
before 8:6.9.10.2+dfsg-2 | 8:6.9.10.2+dfsg-2 |
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 From an advisory covering 5 CVEs |
before 7.0.7.34-3.9.1 | 7.0.7.34-3.9.1 |
ImageMagickSUSE:Linux Enterprise Module for Development Tools 15 From an advisory covering 5 CVEs |
before 7.0.7.34-3.9.1 | 7.0.7.34-3.9.1 |
imagemagickUbuntu:18.04:LTS |
before 8:6.9.7.4+dfsg-16ubuntu6.2, plus listed versions 8:6.9.7.4+dfsg-16ubuntu28:6.9.7.4+dfsg-16ubuntu38:6.9.7.4+dfsg-16ubuntu48:6.9.7.4+dfsg-16ubuntu58:6.9.7.4+dfsg-16ubuntu6 |
8:6.9.7.4+dfsg-16ubuntu6.2 |
imagemagickUbuntu:14.04:LTS From an advisory covering 124 CVEs |
before 8:6.7.7.10-6ubuntu3.11, plus listed versions 8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3 Show 9 moreShow less8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.48:6.7.7.10-6ubuntu3.58:6.7.7.10-6ubuntu3.68:6.7.7.10-6ubuntu3.78:6.7.7.10-6ubuntu3.88:6.7.7.10-6ubuntu3.9 |
8:6.7.7.10-6ubuntu3.11 |
imagemagickUbuntu:16.04:LTS From an advisory covering 124 CVEs |
before 8:6.8.9.9-7ubuntu5.11, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 13 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.48:6.8.9.9-7ubuntu5.58:6.8.9.9-7ubuntu5.68:6.8.9.9-7ubuntu5.78:6.8.9.9-7ubuntu5.88:6.8.9.9-7ubuntu5.9 |
8:6.8.9.9-7ubuntu5.11 |
imagemagickUbuntu:18.04:LTS From an advisory covering 124 CVEs |
before 8:6.9.7.4+dfsg-16ubuntu6.2, plus listed versions 8:6.9.7.4+dfsg-16ubuntu28:6.9.7.4+dfsg-16ubuntu38:6.9.7.4+dfsg-16ubuntu48:6.9.7.4+dfsg-16ubuntu58:6.9.7.4+dfsg-16ubuntu6 |
8:6.9.7.4+dfsg-16ubuntu6.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-11625 is a high vulnerability (CVSS 8.8) in Imagemagick, published May 31, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.24%, the 82nd percentile. Fixed in imagemagick 8:6.9.10.2+dfsg-2.
References
usn.ubuntu.com/3681-1
github.com/ImageMagick/ImageMagick/issues/1156
nvd.nist.gov/vuln/detail/CVE-2018-11625
github.com/advisories/GHSA-3ww7-w2h2-5c4x
security-tracker.debian.org/tracker/CVE-2018-11625
suse.com/support/update/announcement/2018/suse-su-20182043-1
Show 138 moreShow less
bugzilla.suse.com/1094742
bugzilla.suse.com/1094745
bugzilla.suse.com/1095812
bugzilla.suse.com/1096200
bugzilla.suse.com/1096203
bugzilla.suse.com/1098545
bugzilla.suse.com/1098546
suse.com/security/cve/CVE-2018-10805
suse.com/security/cve/CVE-2018-11624
suse.com/security/cve/CVE-2018-11625
suse.com/security/cve/CVE-2018-12599
suse.com/security/cve/CVE-2018-12600
ubuntu.com/security/CVE-2018-11625
ubuntu.com/security/notices/USN-3681-1
cve.org/CVERecord?id=CVE-2018-11625
ubuntu.com/security/CVE-2017-10995
ubuntu.com/security/CVE-2017-11352
ubuntu.com/security/CVE-2017-11533
ubuntu.com/security/CVE-2017-11535
ubuntu.com/security/CVE-2017-11537
ubuntu.com/security/CVE-2017-11639
ubuntu.com/security/CVE-2017-11640
ubuntu.com/security/CVE-2017-12140
ubuntu.com/security/CVE-2017-12418
ubuntu.com/security/CVE-2017-12429
ubuntu.com/security/CVE-2017-12430
ubuntu.com/security/CVE-2017-12431
ubuntu.com/security/CVE-2017-12432
ubuntu.com/security/CVE-2017-12433
ubuntu.com/security/CVE-2017-12435
ubuntu.com/security/CVE-2017-12563
ubuntu.com/security/CVE-2017-12587
ubuntu.com/security/CVE-2017-12640
ubuntu.com/security/CVE-2017-12643
ubuntu.com/security/CVE-2017-12644
ubuntu.com/security/CVE-2017-12670
ubuntu.com/security/CVE-2017-12674
ubuntu.com/security/CVE-2017-12691
ubuntu.com/security/CVE-2017-12692
ubuntu.com/security/CVE-2017-12693
ubuntu.com/security/CVE-2017-12875
ubuntu.com/security/CVE-2017-12877
ubuntu.com/security/CVE-2017-12983
ubuntu.com/security/CVE-2017-13058
ubuntu.com/security/CVE-2017-13059
ubuntu.com/security/CVE-2017-13060
ubuntu.com/security/CVE-2017-13061
ubuntu.com/security/CVE-2017-13062
ubuntu.com/security/CVE-2017-13131
ubuntu.com/security/CVE-2017-13134
ubuntu.com/security/CVE-2017-13139
ubuntu.com/security/CVE-2017-13142
ubuntu.com/security/CVE-2017-13143
ubuntu.com/security/CVE-2017-13144
ubuntu.com/security/CVE-2017-13145
ubuntu.com/security/CVE-2017-13758
ubuntu.com/security/CVE-2017-13768
ubuntu.com/security/CVE-2017-13769
ubuntu.com/security/CVE-2017-14060
ubuntu.com/security/CVE-2017-14172
ubuntu.com/security/CVE-2017-14173
ubuntu.com/security/CVE-2017-14174
ubuntu.com/security/CVE-2017-14175
ubuntu.com/security/CVE-2017-14224
ubuntu.com/security/CVE-2017-14249
ubuntu.com/security/CVE-2017-14325
ubuntu.com/security/CVE-2017-14326
ubuntu.com/security/CVE-2017-14341
ubuntu.com/security/CVE-2017-14342
ubuntu.com/security/CVE-2017-14343
ubuntu.com/security/CVE-2017-14400
ubuntu.com/security/CVE-2017-14505
ubuntu.com/security/CVE-2017-14531
ubuntu.com/security/CVE-2017-14532
ubuntu.com/security/CVE-2017-14533
ubuntu.com/security/CVE-2017-14607
ubuntu.com/security/CVE-2017-14624
ubuntu.com/security/CVE-2017-14625
ubuntu.com/security/CVE-2017-14626
ubuntu.com/security/CVE-2017-14682
ubuntu.com/security/CVE-2017-14684
ubuntu.com/security/CVE-2017-14739
ubuntu.com/security/CVE-2017-14741
ubuntu.com/security/CVE-2017-14989
ubuntu.com/security/CVE-2017-15015
ubuntu.com/security/CVE-2017-15016
ubuntu.com/security/CVE-2017-15017
ubuntu.com/security/CVE-2017-15032
ubuntu.com/security/CVE-2017-15033
ubuntu.com/security/CVE-2017-15217
ubuntu.com/security/CVE-2017-15218
ubuntu.com/security/CVE-2017-15277
ubuntu.com/security/CVE-2017-15281
ubuntu.com/security/CVE-2017-16546
ubuntu.com/security/CVE-2017-17499
ubuntu.com/security/CVE-2017-17504
ubuntu.com/security/CVE-2017-17680
ubuntu.com/security/CVE-2017-17681
ubuntu.com/security/CVE-2017-17682
ubuntu.com/security/CVE-2017-17879
ubuntu.com/security/CVE-2017-17881
ubuntu.com/security/CVE-2017-17882
ubuntu.com/security/CVE-2017-17884
ubuntu.com/security/CVE-2017-17885
ubuntu.com/security/CVE-2017-17886
ubuntu.com/security/CVE-2017-17887
ubuntu.com/security/CVE-2017-17914
ubuntu.com/security/CVE-2017-17934
ubuntu.com/security/CVE-2017-18008
ubuntu.com/security/CVE-2017-18022
ubuntu.com/security/CVE-2017-18027
ubuntu.com/security/CVE-2017-18028
ubuntu.com/security/CVE-2017-18029
ubuntu.com/security/CVE-2017-18209
ubuntu.com/security/CVE-2017-18211
ubuntu.com/security/CVE-2017-18251
ubuntu.com/security/CVE-2017-18252
ubuntu.com/security/CVE-2017-18254
ubuntu.com/security/CVE-2017-18271
ubuntu.com/security/CVE-2017-18273
ubuntu.com/security/CVE-2017-1000445
ubuntu.com/security/CVE-2017-1000476
ubuntu.com/security/CVE-2018-5246
ubuntu.com/security/CVE-2018-5247
ubuntu.com/security/CVE-2018-5248
ubuntu.com/security/CVE-2018-5357
ubuntu.com/security/CVE-2018-5358
ubuntu.com/security/CVE-2018-6405
ubuntu.com/security/CVE-2018-7443
ubuntu.com/security/CVE-2018-8804
ubuntu.com/security/CVE-2018-8960
ubuntu.com/security/CVE-2018-9133
ubuntu.com/security/CVE-2018-10177
ubuntu.com/security/CVE-2018-10804
ubuntu.com/security/CVE-2018-10805
ubuntu.com/security/CVE-2018-11251
ubuntu.com/security/CVE-2018-11655
ubuntu.com/security/CVE-2018-11656