Sign extension error in the ReadDIBImage function in ImageMagick before 6.3.5-9 allows…
Priority MEDIUM 40CWE-681Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.03093 87th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | before 6.3.5-9 | Vulnerable | ImageMagick |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* | 6.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 6.3.5-9 Vulnerable ·ImageMagick
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* Versions 6.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2008:0145 Released 2008-04-17 · Red Hat rating ModerateImageMagick security update
- Red Hat Desktop version 3 ImageMagick-5.5.6-28, ImageMagick-5.5.6-28.i386, ImageMagick-c++-5.5.6-28 +7
- Red Hat Enterprise Linux (v. 5 server) ImageMagick-6.2.8.0-4.el5_1.1, ImageMagick-6.2.8.0-4.el5_1.1.i386, ImageMagick-6.2.8.0-4.el5_1.1.ia64 +17
- Red Hat Enterprise Linux AS version 3 ImageMagick-5.5.6-28, ImageMagick-5.5.6-28.i386, ImageMagick-5.5.6-28.ia64 +17
- Red Hat Enterprise Linux AS version 4 ImageMagick-6.0.7.1-17.el4_6.1, ImageMagick-6.0.7.1-17.el4_6.1.i386, ImageMagick-6.0.7.1-17.el4_6.1.ia64 +17
- Red Hat Enterprise Linux Desktop (v. 5 client) ImageMagick-6.2.8.0-4.el5_1.1, ImageMagick-6.2.8.0-4.el5_1.1.i386, ImageMagick-c++-6.2.8.0-4.el5_1.1 +3
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ImageMagick-6.2.8.0-4.el5_1.1, ImageMagick-c++-devel-6.2.8.0-4.el5_1.1, ImageMagick-c++-devel-6.2.8.0-4.el5_1.1.i386 +2
- Red Hat Enterprise Linux Desktop version 4 ImageMagick-6.0.7.1-17.el4_6.1, ImageMagick-6.0.7.1-17.el4_6.1.i386, ImageMagick-c++-6.0.7.1-17.el4_6.1 +7
- Red Hat Enterprise Linux ES version 3 ImageMagick-5.5.6-28, ImageMagick-5.5.6-28.i386, ImageMagick-5.5.6-28.ia64 +12
- Red Hat Enterprise Linux ES version 4 ImageMagick-6.0.7.1-17.el4_6.1, ImageMagick-6.0.7.1-17.el4_6.1.i386, ImageMagick-6.0.7.1-17.el4_6.1.ia64 +12
- Red Hat Enterprise Linux WS version 3 ImageMagick-5.5.6-28, ImageMagick-5.5.6-28.i386, ImageMagick-5.5.6-28.ia64 +12
- Red Hat Enterprise Linux WS version 4 ImageMagick-6.0.7.1-17.el4_6.1, ImageMagick-6.0.7.1-17.el4_6.1.i386, ImageMagick-6.0.7.1-17.el4_6.1.ia64 +12
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0145 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-4988
- 2026-10-03 Alias added: GHSA-xhjj-jg7j-pqrx
References
Advisory 7
Sources
- CVE-2007-4988 · CVE Program
- CVE-2007-4988 · NVD
- FIRST EPSS
- GHSA-xhjj-jg7j-pqrx · GitHub Advisory Database · CC BY 4.0
- CVE-2007-4988 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences