CVE-2018-16641
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in...
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.
- Record
CVE-2018-16641- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-772
- Updated
- 2026-11-02
CVE List No score
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.
- Record
CVE-2018-16641- Updated
- 2026-11-02
EUVDEUVD-2018-8444 No score
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.
- Record
EUVD-2018-8444- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g7p2-3xmf-r7r6
6.5
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in...
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.
- Record
GHSA-g7p2-3xmf-r7r6- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
6.5
ImageMagick 7.0.8-6 has a memory leak vulnerability in the TIFFWritePhotoshopLayers function in coders/tiff.c.
- Record
CVE-2018-16641- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11564-1 No score
ImageMagick-7.1.0.9-1.1 on GA media
These are all security issues fixed in the ImageMagick-7.1.0.9-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11564-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:2977-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following security issues:
- CVE-2018-16413: Prevent heap-based buffer over-read in the PushShortPixel function leading to DoS (bsc#1106989)
- CVE-2018-16329: Prevent NULL pointer dereference in the GetMagickProperty function leading to DoS (bsc#1106858).
- CVE-2018-16328: Prevent NULL pointer dereference exists in the CheckEventLogging function leading to DoS (bsc#1106857).
- CVE-2018-16323: ReadXBMImage left data uninitialized when processing an XBM file that has a negative pixel value. If the affected code was used as a library loaded into a process that includes sensitive information, that information sometimes can be leaked via the image data (bsc#1106855)
- CVE-2018-16642: The function InsertRow allowed remote attackers to cause a denial of service via a crafted image file due to an out-of-bounds write (bsc#1107616)
- CVE-2018-16640: Prevent memory leak in the function ReadOneJNGImage (bsc#1107619)
- CVE-2018-16641: Prevent memory leak in the TIFFWritePhotoshopLayers function (bsc#1107618).
- CVE-2018-16643: The functions ReadDCMImage, ReadPWPImage, ReadCALSImage, and ReadPICTImage did check the return value of the fputc function, which allowed remote attackers to cause a denial of service via a crafted image file (bsc#1107612)
- CVE-2018-16644: Added missing check for length in the functions ReadDCMImage and ReadPICTImage, which allowed remote attackers to cause a denial of service via a crafted image (bsc#1107609)
- CVE-2018-16645: Prevent excessive memory allocation issue in the functions ReadBMPImage and ReadDIBImage, which allowed remote attackers to cause a denial of service via a crafted image file (bsc#1107604)
- Record
SUSE-SU-2018:2977-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 From an advisory covering 10 CVEs |
before 7.0.7.34-3.24.1 | 7.0.7.34-3.24.1 |
ImageMagickSUSE:Linux Enterprise Module for Development Tools 15 From an advisory covering 10 CVEs |
before 7.0.7.34-3.24.1 | 7.0.7.34-3.24.1 |
ImageMagickopenSUSE:Tumbleweed From an advisory covering 26 CVEs |
before 7.1.0.9-1.1 | 7.1.0.9-1.1 |
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-16641 is a medium vulnerability (CVSS 6.5) in Imagemagick, published September 6, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.05%, the 81st percentile. No source names a fixed version.
References
github.com/ImageMagick/ImageMagick/commit/256825d4eb33dc301496710d15cf5a7ae924088b
github.com/ImageMagick/ImageMagick/issues/1206
nvd.nist.gov/vuln/detail/CVE-2018-16641
github.com/advisories/GHSA-g7p2-3xmf-r7r6
suse.com/support/update/announcement/2018/suse-su-20182977-1
bugzilla.suse.com/1106855
Show 43 moreShow less
bugzilla.suse.com/1106857
bugzilla.suse.com/1106858
bugzilla.suse.com/1106989
bugzilla.suse.com/1107604
bugzilla.suse.com/1107609
bugzilla.suse.com/1107612
bugzilla.suse.com/1107616
bugzilla.suse.com/1107618
bugzilla.suse.com/1107619
suse.com/security/cve/CVE-2018-16323
suse.com/security/cve/CVE-2018-16328
suse.com/security/cve/CVE-2018-16329
suse.com/security/cve/CVE-2018-16413
suse.com/security/cve/CVE-2018-16640
suse.com/security/cve/CVE-2018-16641
suse.com/security/cve/CVE-2018-16642
suse.com/security/cve/CVE-2018-16643
suse.com/security/cve/CVE-2018-16644
suse.com/security/cve/CVE-2018-16645
suse.com/security/cve/CVE-2018-10805
suse.com/security/cve/CVE-2018-14434
suse.com/security/cve/CVE-2018-17966
suse.com/security/cve/CVE-2019-11007
suse.com/security/cve/CVE-2019-11506
suse.com/security/cve/CVE-2019-12976
suse.com/security/cve/CVE-2019-13134
suse.com/security/cve/CVE-2019-13296
suse.com/security/cve/CVE-2019-13301
suse.com/security/cve/CVE-2019-13306
suse.com/security/cve/CVE-2019-13311
suse.com/security/cve/CVE-2019-15139
suse.com/security/cve/CVE-2019-16710
suse.com/security/cve/CVE-2019-19949
suse.com/security/cve/CVE-2019-7398
suse.com/security/cve/CVE-2020-25666
suse.com/security/cve/CVE-2020-27750
suse.com/security/cve/CVE-2020-27755
suse.com/security/cve/CVE-2020-27760
suse.com/security/cve/CVE-2020-27765
suse.com/security/cve/CVE-2020-27770
suse.com/security/cve/CVE-2020-27775
suse.com/security/cve/CVE-2021-20246
suse.com/security/cve/CVE-2021-20312