CVE-2019-7397
What it is
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 3.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.8% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.8% · EPSS, next 30 days
- Weakness
- CWE-401
- Record status
- Modified
Affected
- Imagemagick < 6.9.10-25
- Imagemagick < 7.0.8-25
- Graphicsmagick ≤ 1.3.31
- Opensuse Leap 15.0
- Debian Linux 10.0
- Canonical Ubuntu Linux 16.04
- Canonical Ubuntu Linux 18.04
- Canonical Ubuntu Linux 18.10
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2019-7397.md and follow it. Check whether this project is affected by CVE-2019-7397. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1
- https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82
- https://github.com/ImageMagick/ImageMagick/issues/1454
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1
- https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82
- https://github.com/ImageMagick/ImageMagick/issues/1454
References
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html
- http://www.securityfocus.com/bid/106847
- https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82
- https://github.com/ImageMagick/ImageMagick/issues/1454
- https://usn.ubuntu.com/4034-1/
- https://www.debian.org/security/2020/dsa-4712
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html
- http://www.securityfocus.com/bid/106847
- https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82
- https://github.com/ImageMagick/ImageMagick/issues/1454
- https://usn.ubuntu.com/4034-1/
- https://www.debian.org/security/2020/dsa-4712