CVE-2007-4987

ImageMagick writes terminating NUL one byte beyond char array end

Published Sep 24, 2007 CVSS 2.0 · 9.3 Critical EPSS 3.8% KEV · Not listed
Description
Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted image file, which triggers the writing of a '\0' character to an out-of-bounds address.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1858-1 New imagemagick packages fix several vulnerabilities
EUVD EUVD EUVD-2007-4968 Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted image file, which triggers the writing of a '\0' character to an out-of-bounds address.
Ubuntu USN Ubuntu USN USN-523-1 ImageMagick vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 3:17 PM
Reserved
Sep 19, 2007, 12:00 AM
Status
Modified
Published
Sep 24, 2007, 10:17 PM
Modified
Jun 16, 2026, 10:45 PM
Severity
Low
Public date
Sep 19, 2007, 12:00 AM