Skip to main content
Public proof of conceptFix available

CVE-2018-16323

A public proof of concept exists; no exploitation attested.

  • Published2018-09-01
  • Fixed in7.0.8-9 · 6.9.10-9
  • WeaknessCWE-200

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-09-0118:29CVE publishedNVD
  2. 2018-11-19Exploit-DB entryExploit-DB

Versions per branch

NVD
Imagemagick
BranchAffectedFixed in
7.0≥ 7.0.0-0, < 7.0.8-97.0.8-9
6.9< 6.9.10-96.9.10-9
Canonical ubuntu linux
BranchAffectedFixed in
14.4= 14.04no fix published
16.4= 16.04no fix published
18.4= 18.04no fix published
18.10= 18.10no fix published
19.4= 19.04no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • graphicsmagickMageia:6all versions · fixed in 1.3.31-1.mga6
  • GraphicsMagickSUSE:Studio Onsite 1.3all versions · fixed in 1.2.5-78.72.1
  • GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4all versions · fixed in 1.2.5-78.72.1
  • imagemagickUbuntu:18.04:LTSall versions · fixed in 8:6.9.7.4+dfsg-16ubuntu6.4
  • imagemagickUbuntu:18.04:LTSall versions · fixed in 8:6.9.7.4+dfsg-16ubuntu6.7
  • imagemagickUbuntu:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.13
  • imagemagickUbuntu:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.14
  • imagemagickUbuntu:14.04:LTSall versions · fixed in 8:6.7.7.10-6ubuntu3.13

13 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-16323 Red Hat Product Security16 known affected

    ImageMagick: Information leak in ReadXBMImage in coders/xbm.c

    ImageMagick.src as a component of Red Hat Enterprise Linux 5 · ImageMagick as a component of Red Hat Enterprise Linux 6 · ImageMagick-c++ as a component of Red Hat Enterprise Linux 6 · +13 more

Full record on NVD

Fix

  1. Update Imagemagick to 7.0.8-9 · 6.9.10-9
  2. No fix planned, says the vendor Red Hat Product Security CVE-2018-16323 · 16 productsWill not fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-45890
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published
2018-09-01
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-q2cj-g3jg-cp49

Frequently asked questions

What is CVE-2018-16323?

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.

Is CVE-2018-16323 actively exploited?

Active exploitation of CVE-2018-16323 has not been confirmed. Its EPSS score was 48.9% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-16323?

CVE-2018-16323 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Running ImageMagick? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record