CWE
476
Advisory Published
CVE Published
Updated

CVE-2021-3596: Null Pointer Dereference

First published: Thu Jun 10 2021(Updated: )

A NULL pointer dereference flaw was found in ImageMagick in versions prior to 7.0.10-31 in ReadSVGImage() in coders/svg.c. This issue is due to not checking the return value from libxml2's xmlCreatePushParserCtxt() and uses the value directly, which leads to a crash and segmentation fault.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
ImageMagick ImageMagick<7.0.10-31
Redhat Enterprise Linux=5.0
Redhat Enterprise Linux=6.0
Redhat Enterprise Linux=7.0
Fedoraproject Fedora=34
Debian Debian Linux=9.0
redhat/ImageMagick 7.0.10<31
31

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-3596?

    CVE-2021-3596 is a vulnerability in ImageMagick that allows for a NULL pointer dereference, leading to a crash and segmentation fault.

  • Which versions of ImageMagick are affected by CVE-2021-3596?

    Versions prior to 7.0.10-31 of ImageMagick are affected by CVE-2021-3596.

  • What is the severity of CVE-2021-3596?

    CVE-2021-3596 has a severity rating of 6.5, which is considered medium severity.

  • How can I fix CVE-2021-3596 in ImageMagick?

    To fix CVE-2021-3596, you should update ImageMagick to version 7.0.10-31 or later.

  • Where can I find more information about CVE-2021-3596?

    You can find more information about CVE-2021-3596 in the following references: [Bugzilla Red Hat](https://bugzilla.redhat.com/show_bug.cgi?id=1970569), [GitHub ImageMagick Issues](https://github.com/ImageMagick/ImageMagick/issues/2624), and [Debian LTS Announce](https://lists.debian.org/debian-lts-announce/2022/05/msg00018.html).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203