CVE-2007-4988
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.09%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 3.09% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-681
- Affected
- imagemagick/imagemagick · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- http://bugs.gentoo.org/show_bug.cgi?id=186030Issue Tracking
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=597Broken Link
- http://secunia.com/advisories/26926Broken Link
- http://secunia.com/advisories/27048Broken Link
- http://secunia.com/advisories/27309Broken Link
- http://secunia.com/advisories/27364Broken Link
- http://secunia.com/advisories/27439Broken Link
- http://secunia.com/advisories/28721Broken Link
- http://secunia.com/advisories/29786Broken Link
- http://secunia.com/advisories/36260Broken Link
- http://security.gentoo.org/glsa/glsa-200710-27.xmlThird Party Advisory
- http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.htmlBroken Link
- http://www.debian.org/security/2009/dsa-1858Mailing List, Third Party Advisory
- http://www.imagemagick.org/script/changelog.phpRelease Notes
- http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:035Broken Link
- http://www.novell.com/linux/security/advisories/2007_23_sr.htmlBroken Link
- http://www.redhat.com/support/errata/RHSA-2008-0145.htmlBroken Link
- http://www.securityfocus.com/archive/1/483572/100/0/threadedBroken Link, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/25765Broken Link, Exploit, Patch, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1018729Broken Link, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/usn-523-1Third Party Advisory
- http://www.vupen.com/english/advisories/2007/3245Broken Link
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36737Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1743Broken Link
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9656Broken Link
- http://bugs.gentoo.org/show_bug.cgi?id=186030Issue Tracking
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=597Broken Link
- http://secunia.com/advisories/26926Broken Link
- http://secunia.com/advisories/27048Broken Link
- http://secunia.com/advisories/27309Broken Link
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.