7.8
CWE
681 119 190 189
Advisory Published
Updated

CVE-2007-4988: Buffer Overflow

First published: Mon Sep 24 2007(Updated: )

Sign extension error in the ReadDIBImage function in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted width value in an image file, which triggers an integer overflow and a heap-based buffer overflow.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ImageMagick=5.3.3
ImageMagick=5.3.8
ImageMagick=5.4.2.3
ImageMagick=5.4.3
ImageMagick=5.4.4.5
ImageMagick=5.4.7
ImageMagick=5.4.8
ImageMagick=5.4.8.2_1.1.0
ImageMagick=5.5.3_.2_1.2.0
ImageMagick=5.5.4
ImageMagick=5.5.6
ImageMagick=5.5.6.0_20030409
ImageMagick=5.5.7
ImageMagick=5.5.7.15
ImageMagick=6.0
ImageMagick=6.0.1
ImageMagick=6.0.2
ImageMagick=6.0.2.5
ImageMagick=6.0.3
ImageMagick=6.0.4
ImageMagick=6.0.4.4
ImageMagick=6.0.5
ImageMagick=6.0.6
ImageMagick=6.0.6.2
ImageMagick=6.0.7
ImageMagick=6.0.8
ImageMagick=6.1
ImageMagick=6.1.1
ImageMagick=6.1.2
ImageMagick=6.1.3
ImageMagick=6.1.4
ImageMagick=6.1.5
ImageMagick=6.1.6
ImageMagick=6.1.7
ImageMagick=6.1.8
ImageMagick=6.2
ImageMagick=6.2.0.3
ImageMagick=6.2.0.7
ImageMagick=6.2.1
ImageMagick=6.2.2
ImageMagick=6.2.3
ImageMagick=6.2.3.4
ImageMagick=6.2.4
ImageMagick=6.2.4.3
ImageMagick=6.2.4.5
ImageMagick=6.2.5
ImageMagick=6.2.6
ImageMagick=6.2.7
ImageMagick=6.2.8
ImageMagick=6.2.9
ImageMagick=6.2.9.2
ImageMagick=6.3.1
ImageMagick=6.3.2
ImageMagick=6.3.3_3
ImageMagick=6.3.3_5
ImageMagick=6.3.3_6
ImageMagick=6.3.4
ImageMagick<6.3.5-9
Ubuntu Linux=6.06
Ubuntu Linux=6.10
Ubuntu Linux=7.04

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 the severity of CVE-2007-4988?

    CVE-2007-4988 is classified as a critical vulnerability due to its ability to execute arbitrary code through a crafted image file.

  • How do I fix CVE-2007-4988?

    To fix CVE-2007-4988, upgrade your ImageMagick installation to version 6.3.5-9 or later.

  • Which versions of ImageMagick are affected by CVE-2007-4988?

    CVE-2007-4988 affects ImageMagick versions prior to 6.3.5-9, including 5.3.8 and several other versions.

  • What type of attack can exploit CVE-2007-4988?

    CVE-2007-4988 can be exploited via a crafted width value in an image file, leading to an integer overflow and heap-based buffer overflow.

  • What are the potential impacts of CVE-2007-4988?

    The impacts of CVE-2007-4988 include arbitrary code execution, which can lead to a full system compromise.

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