Skip to content
WatchlistMedium

CVE-2018-16323ImageMagick Information Disclosure

ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an XBM file that has a negative pixel value.

Published Sep 1, 2018 · Updated Aug 7, 2026 · Also known as DEBIAN-CVE-2018-16323, SUSE-SU-2018:2977-1, SUSE-SU-2018:3269-1, UBUNTU-CVE-2018-16323

Key Facts

Routine patching
  • CVE-2018-16323 is a medium-severity vulnerability (CVSS 6.5 v3.1) affecting ImageMagick, Ubuntu Linux (Canonical), rootio-imagemagick and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 49% probability of exploitation in the next 30 days.
  • Fixed versions are available, including GraphicsMagick 1.2.5-78.72.1, GraphicsMagick 1.3.25-102.1, GraphicsMagick-devel 1.3.25-102.1.
  • Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.

Scores

CVSS v3.1

6.5

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS (30-day exploit likelihood)

49%

Higher than 98.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

45/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an XBM file that has a negative pixel value. If the affected code is used as a library loaded into a process that includes sensitive information, that information sometimes can be leaked via the image data.

Affected Products

116 affected entries in total
ProductAffected versionsFixed in
ImageMagickImagemagickSee advisory6.9.10-9
Ubuntu LinuxCanonical14.04, 16.04, 18.04, 18.10, 19.04n/a
rootio-imagemagickrootioSee advisory8:6.9.10.14+dfsg-1
seal-ImageMagicksealSee advisory6.9.10.68-6.el7_9+sp999
GraphicsMagick-develsuseSee advisory1.3.25-102.1
20 more affected products in the full CVE brief

Patched Releases

GraphicsMagick

1.2.5-78.72.1, 1.3.25-102.1

GraphicsMagick-devel

1.3.25-102.1

ImageMagick

8:6.7.7.10-6ubuntu3.13, 8:6.8.9.9-7ubuntu5.13, 8:6.8.9.9-7ubuntu5.14, 8:6.9.10.14+dfsg-1, 8:6.9.7.4+dfsg-16ubuntu6.4, 8:6.9.7.4+dfsg-16ubuntu6.7, 6.4.3.6-78.74.1, 6.8.8.1-67.1, 6.8.8.1-71.74.1, 6.9.10.68-6.el7_9+sp999, 7.0.7.34-3.24.1, 7.0.7.34-lp150.2.15.1, 6.9.10-9

ImageMagick-devel

6.4.3.6-78.74.1, 6.8.8.1-67.1, 6.8.8.1-71.74.1, 7.0.7.34-3.24.1, 7.0.7.34-lp150.2.15.1

ImageMagick-devel-32bit

6.8.8.1-67.1, 7.0.7.34-lp150.2.15.1

ImageMagick-doc

6.8.8.1-67.1, 7.0.7.34-lp150.2.15.1

ImageMagick-extra

6.8.8.1-67.1, 7.0.7.34-lp150.2.15.1

libGraphicsMagick-Q16-3

1.3.25-102.1

libGraphicsMagick++-devel

1.3.25-102.1

libGraphicsMagick++-Q16-12

1.3.25-102.1

libGraphicsMagick2

1.2.5-78.72.1

libGraphicsMagick3-config

1.3.25-102.1

libGraphicsMagickWand-Q16-2

1.3.25-102.1

libMagick++-6_Q16-3

6.8.8.1-67.1, 6.8.8.1-71.74.1

libMagick++-6_Q16-3-32bit

6.8.8.1-67.1

libMagick++-7_Q16HDRI4

7.0.7.34-3.24.1, 7.0.7.34-lp150.2.15.1

libMagick++-7_Q16HDRI4-32bit

7.0.7.34-lp150.2.15.1

libMagick++-devel

6.4.3.6-78.74.1, 6.8.8.1-67.1, 6.8.8.1-71.74.1, 7.0.7.34-3.24.1, 7.0.7.34-lp150.2.15.1

libMagick++-devel-32bit

6.8.8.1-67.1, 7.0.7.34-lp150.2.15.1

libMagick++1

6.4.3.6-78.74.1

libMagickCore-6_Q16-1

6.8.8.1-67.1, 6.8.8.1-71.74.1

libMagickCore-6_Q16-1-32bit

6.8.8.1-67.1, 6.8.8.1-71.74.1

libMagickCore-7_Q16HDRI6

7.0.7.34-3.24.1, 7.0.7.34-lp150.2.15.1

libMagickCore-7_Q16HDRI6-32bit

7.0.7.34-lp150.2.15.1

libMagickCore1

6.4.3.6-78.74.1

Timeline

  1. Publicly disclosed

    Sep 1, 2018

  2. Last updated

    Aug 7, 2026

Weakness Type

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-665 Improper Initialization
  • CWE-908 Use of Uninitialized Resource

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2018-16323 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.