CVEvulnerability

CVE-2007-4988

7.8 HIGH Published 2007-09-24 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-09-24
Last modified
2026-06-16
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-681

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.

Affected configurations

• imagemagick imagemagick (< 6.3.5-9) • canonical ubuntu linux 6.06 • canonical ubuntu linux 6.10 • canonical ubuntu linux 7.04

Related

Weakness · CWE (1)

  • CWE-681 Incorrect Conversion between Numeric Types weakness

Referenced by CWE · observed example (2)

  • CWE-194 Unexpected Sign Extension weakness
  • CWE-681 Incorrect Conversion between Numeric Types weakness

References