# CVE-2007-4988

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2007-09-24 · Modified: 2024-08-07
- Aliases: DEBIAN-CVE-2007-4988
- Record: https://cvemate.com/vulnerability/CVE-2007-4988 · JSON: https://cvemate.com/vulnerability/CVE-2007-4988/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 3.093%, percentile 88.143%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- canonical ubuntu\_linux: 6.06 \| 6.10 \| 7.04
- debian graphicsmagick (Debian): \< 1.1.11-1
- debian imagemagick (Debian): \< 7:6.2.4.5.dfsg1-2
- imagemagick imagemagick: \< 6.3.5-9

## References (first 20 of 26)

- <http://secunia.com/advisories/27364>
- <http://www.redhat.com/support/errata/RHSA-2008-0145.html>
- <http://www.securityfocus.com/archive/1/483572/100/0/threaded>
- <http://www.ubuntu.com/usn/usn-523-1>
- <http://secunia.com/advisories/27309>
- <http://secunia.com/advisories/29786>
- <http://www.securityfocus.com/bid/25765>
- <http://www.imagemagick.org/script/changelog.php>
- <http://www.vupen.com/english/advisories/2007/3245>
- <http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=597>
- <http://security.gentoo.org/glsa/glsa-200710-27.xml>
- <http://www.securitytracker.com/id?1018729>
- <http://secunia.com/advisories/27048>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/36737>
- <http://secunia.com/advisories/28721>
- <http://secunia.com/advisories/27439>
- <https://issues.rpath.com/browse/RPL-1743>
- <http://www.debian.org/security/2009/dsa-1858>
- <http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html>
- <http://secunia.com/advisories/26926>

---

Data as of 2026-12-05T04:50:04.669Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
