CVE-2019-12974: Null Pointer Dereference

Published Jun 26, 2019
·
Updated

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

5 affected componentsFixes available
redhat/ImageMagick 7.0.8<35
35
redhat/ImageMagick 6.9.10<35
35
IBM Data Risk Manager<=2.0.6
ImageMagick=7.0.8-34
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1

Event History

Jun 26, 2019
CVE Published
via MITRE·05:07 PM
Data Sourced
via MITRE·05:07 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·11:16 PM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·11:53 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How severe is CVE-2019-12974?

CVE-2019-12974 has a severity rating of medium, with a CVSS score of 5.5.

3

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.

4

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.

5

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)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203