CVE-2007-4988

HIGH

ImageMagick < 6.3.5-9 - Remote Code Execution via Crafted DIB Image Width

Title source: llm
STIX 2.1

Description

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.

References (25)

Core 25
Core References
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27364
Broken Link vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0145.html
Broken Link, Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/483572/100/0/threaded
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-523-1
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27309
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/29786
Broken Link, Exploit, Patch, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25765
Release Notes x_refsource_confirm
http://www.imagemagick.org/script/changelog.php
Broken Link vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3245
Broken Link third-party-advisory x_refsource_idefense
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=597
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200710-27.xml
Broken Link, Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1018729
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27048
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36737
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28721
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27439
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1743
Mailing List, Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2009/dsa-1858
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26926
Broken Link vendor-advisory x_refsource_mandriva
http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:035
Issue Tracking x_refsource_confirm
http://bugs.gentoo.org/show_bug.cgi?id=186030
Broken Link vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2007_23_sr.html
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/36260

Scores

CVSS v3 7.8
EPSS 0.0309
EPSS Percentile 86.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-681
Status published
Products (4)
canonical/ubuntu_linux 6.06
canonical/ubuntu_linux 6.10
canonical/ubuntu_linux 7.04
imagemagick/imagemagick < 6.3.5-9
Published Sep 24, 2007
Tracked Since Feb 18, 2026