CVE-2018-16323 json
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…
published 2018-09-01 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-8174
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 48.9%
- EPSS 48.9% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- imagemagick imagemagick 6.9.10-9, 7.0.8-9
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.10.14+dfsg-1
debian advisories DEBIAN-CVE-2018-16323
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.13
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.13
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.4
ubuntu advisories UBUNTU-CVE-2018-16323
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-78.74.1
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-78.72.1
- ImageMagick SLE Module for Development Tools 15, SLE Module for Desktop Applications 15 7.0.7.34-3.24.1
- ImageMagick SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +2 more 6.8.8.1-71.74.1
suse advisories SUSE-SU-2018:3348-1SUSE-SU-2018:3269-1SUSE-SU-2018:2977-1SUSE-SU-2018:2778-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16323 updated cvss 4.3
ImageMagick: Information leak in ReadXBMImage in coders/xbm.c
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 8 ImageMagickaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-45890)
Exploit prediction
48.89% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-45890 ImageMagick - Memory Leak local, 2018-11-19
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786
issue-tracking, patch, third-party-advisory
-
exploit-db.com
/exploits/45890/
exploit, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3785-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4034-1/
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2018-16323
- NVD CVE-2018-16323
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.