CVE-2004-0981: Buffer Overflow
Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers to execute arbitrary code via a certain image file.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/graphicsmagickto a version that resolves this vulnerability.Fixed in 1.1.7-8 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 6.2.4.5-0.6ubuntu0.6 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 6.2.4.5.dfsg1-0.10ubuntu0.3 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 6.2.4.5.dfsg1-0.14ubuntu0.1 - Upgrade
Upgrade
debian/graphicsmagickto a version that resolves this vulnerability.Fixed in 1.4+really1.3.36+hg16481-2+deb11u1Fixed in 1.4+really1.3.40-4Fixed in 1.4+really1.3.43-1 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.3+deb11u3Fixed in 8:6.9.11.60+dfsg-1.6+deb12u1Fixed in 8:6.9.13.12+dfsg1-1
Event History
Frequently Asked Questions
What is the severity of CVE-2004-0981?
CVE-2004-0981 is considered to have a critical severity due to the potential for remote code execution.
How do I fix CVE-2004-0981?
To fix CVE-2004-0981, update ImageMagick to version 6.1.0 or later.
Which versions of ImageMagick are affected by CVE-2004-0981?
Versions of ImageMagick prior to 6.1.0 are affected by CVE-2004-0981.
What types of attacks can exploit CVE-2004-0981?
CVE-2004-0981 can be exploited via specially crafted image files that trigger a buffer overflow.
Is ImageMagick the only software affected by CVE-2004-0981?
No, GraphicsMagick is also affected by CVE-2004-0981 if using vulnerable versions.