CVE-2019-12974: Null Pointer Dereference
A NULL pointer dereference in the function ReadPANGOImage in coders/pango.c and the function ReadVIDImage in coders/vid.c in ImageMagick 7.0.8-34 allows remote attackers to cause a denial of service via a crafted image.
Reference: https://github.com/ImageMagick/ImageMagick/issues/1515
Upstream commit: https://github.com/ImageMagick/ImageMagick6/commit/b4391bdd60df0a77e97a6ef1674f2ffef0e19e24 https://github.com/ImageMagick/ImageMagick/commit/b4dd4d266f2d450a2996abf5294671d888991132
Other sources
ImageMagick is vulnerable to a denial of service, caused by a NULL pointer dereference in the ReadPANGOImage function in coders/pango.c and the ReadVIDImage function in coders/vid.c By persuading a victim to open a specially crafted file, a remote attacker could exploit this vulnerability to cause a denial of service condition.
— IBM
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2019-12974?
CVE-2019-12974 is a vulnerability in ImageMagick that allows a remote attacker to cause a denial of service by exploiting a NULL pointer dereference in specific functions.
How severe is CVE-2019-12974?
CVE-2019-12974 has a severity rating of medium, with a CVSS score of 5.5.
Which software versions are affected by CVE-2019-12974?
ImageMagick versions 8:6.9.7.4+dfsg-16ubuntu6.8, 8:6.9.10.14+dfsg-7ubuntu2.3, 8:6.9.10.23+dfsg-2.1ubuntu3.1, 8:6.8.9.9-7ubuntu5.15, 8:6.9.10.23+dfsg-2.1ubuntu9, 8:6.9.10.23+dfsg-2.1ubuntu9, 8:6.9.10.23+dfsg-2.1ubuntu9, 8:6.9.10.23+dfsg-2.1ubuntu9, 8:6.9.10.23+dfsg-2.1ubuntu9, and 8:6.9.10.23+dfsg-2.1ubuntu9 are affected by CVE-2019-12974.
How can I fix CVE-2019-12974?
To fix CVE-2019-12974, you should update ImageMagick to version 8:6.9.12.98+dfsg1-3 or later.
Where can I find more information about CVE-2019-12974?
More information about CVE-2019-12974 can be found in the following references: [http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html](http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html), [http://www.securityfocus.com/bid/108913](http://www.securityfocus.com/bid/108913), [https://github.com/ImageMagick/ImageMagick/issues/1515](https://github.com/ImageMagick/ImageMagick/issues/1515)