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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | imagemagick | 8:6.9.10.14+dfsg-1 | — |
| Debian 13 | imagemagick | 8:6.9.10.14+dfsg-1 | — |
| Debian 12 | imagemagick | 8:6.9.10.14+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.4 | USN-4034-1, USN-3785-1 |
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.13 | USN-4034-1, USN-3785-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13 | USN-3785-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | ImageMagick | 7.0.7.34-3.24.1 | SUSE-SU-2018:2977-1 |
| SLES 12 SP3 | ImageMagick | 6.8.8.1-71.74.1 | SUSE-SU-2018:2778-1 |
| SLES 11 SP4 | GraphicsMagick | 1.2.5-78.72.1 | SUSE-SU-2018:3269-1 |
| SLES 11 SP4 | ImageMagick | 6.4.3.6-78.74.1 | SUSE-SU-2018:3348-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Studio Onsite 1.3 | GraphicsMagick | 1.2.5-78.72.1 | SUSE-SU-2018:3269-1 |
| SLES for SAP 12 SP3 | ImageMagick | 6.8.8.1-71.74.1 | SUSE-SU-2018:2778-1 |
| SLES for SAP 11 SP4 | ImageMagick | 6.4.3.6-78.74.1 | SUSE-SU-2018:3348-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- ImageMagick - Memory Leak EDB-45890 · local · Nov 19, 2018
GitHub 1 repository
-
ttffdd/XBadManners ★ 83 · Nov 18, 2018
Tool for CVE-2018-16323
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- USN-4034-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-3785-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2018:2977-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3269-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3348-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2778-1 Security update for ImageMagick SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-2150 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 19, 2024
References
- 45890 exploit
- https://github.com/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786
- USN-3785-1 vendor-advisory
- USN-4034-1 vendor-advisory