CVE-2019-7397Imagemagick
High 7.5 No auth needed
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Feb 5, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-401
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
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 | < 6.9.10-25 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.0.8-25 |
| graphicsmagick | graphicsmagick | ≤ 1.3.31 |
| opensuse | leap | 15.0 |
| debian | debian_linux | 10.0 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 18.10 |
| canonical | ubuntu_linux | 19.04 |
Official sources
References
Links published by the sources. Open them with care.
- hg.graphicsmagick.org Patch Third Party Advisory
- lists.opensuse.org Broken Link Third Party Advisory
- lists.opensuse.org Broken Link
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory