CVE-2018-5248Imagemagick
High 8.8 No auth needed
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.0
- 8.8
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jan 5, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
In ImageMagick 7.0.7-17 Q16, there is a heap-based buffer over-read in coders/sixel.c in the ReadSIXELImage function, related to the sixel_decode function.
What to do
- Apply the vendor's security update for Imagemagick.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | 7.0.7-17 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| canonical | ubuntu_linux | 18.04 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Exploit Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory