---
title: "CVE-2004-0981\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2004-0981?format=md
keywords: index, follow
---

# CVE-2004-0981

Publication date 9 February 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| graphicsmagick | 7.04 feisty | Fixed 1.1.7-8 |
| 6.10 edgy | Fixed 1.1.7-8 |
| 6.06 LTS dapper | Not in release |
| imagemagick | 7.04 feisty | Fixed 6.2.4.5.dfsg1-0.14ubuntu0.1 |
| 6.10 edgy | Fixed 6.2.4.5.dfsg1-0.10ubuntu0.3 |
| 6.06 LTS dapper | Fixed 6.2.4.5-0.6ubuntu0.6 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0981)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2004-0981)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2004-0981)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2004-0981)

### Related Ubuntu Security Notices (USN)

+ [USN-7-1](https://usn.ubuntu.com/USN-7-1)
+ imagemagick vulnerability
+ 27 October 2004

+ [USN-10-1](https://usn.ubuntu.com/USN-10-1)
+ XML library vulnerabilities
+ 30 October 2004

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2004-0981>
