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.
What to do
Likely to be exploited: EPSS gives a 49% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | imagemagick | Fixed | 8:6.9.7.4+dfsg-16ubuntu6.4 | UBUNTU-CVE-2018-16323 |
| Ubuntu 16.04 | imagemagick | Fixed | 8:6.8.9.9-7ubuntu5.13 | UBUNTU-CVE-2018-16323 |
| Ubuntu 14.04 | imagemagick | Fixed | 8:6.7.7.10-6ubuntu3.13 | UBUNTU-CVE-2018-16323 |
| Debian 14 | imagemagick | Fixed | 8:6.9.10.14+dfsg-1 | DEBIAN-CVE-2018-16323 |
| Debian 13 | imagemagick | Fixed | 8:6.9.10.14+dfsg-1 | DEBIAN-CVE-2018-16323 |
| Debian 12 | imagemagick | Fixed | 8:6.9.10.14+dfsg-1 | DEBIAN-CVE-2018-16323 |
| Red Hat Enterprise Linux 8 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/3785-1/ (vendor-advisory)
- https://usn.ubuntu.com/4034-1/ (vendor-advisory)
References
- https://www.exploit-db.com/exploits/45890/
- https://github.com/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786
- https://usn.ubuntu.com/3785-1/
- https://usn.ubuntu.com/4034-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.