All vulnerabilities

Servers and applications

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.

Severity
High 7.8
Published
24 Sept 2007
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.3.5-9
Exploit chance
3.1% in the next 30 daysHigher than 87% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Incorrect numeric conversion (CWE-681)
Attack
Needs local access · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Every version before 6.3.5-9

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4988
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4988