What’s Vulnerable › Vulnerabilities
CVE-2018-16323
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 49.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-09-01 · updated 2026-06-17
- Weakness: CWE-200
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
- Canonical Ubuntu Linux: 14.04, 16.04, 18.04, 18.10, 19.04
- ImageMagick: before 6.9.10-9; from 7.0.0-0 before 7.0.8-9 — fixed in 6.9.10-9, 7.0.8-9
How to fix
Upgrade to a fixed version: ImageMagick 6.9.10-9, 7.0.8-9. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786
- https://usn.ubuntu.com/3785-1/
- https://usn.ubuntu.com/4034-1/
- 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/
- https://www.exploit-db.com/exploits/45890/
Get alerted when CVE-2018-16323 or the next vulnerability affects your stack