{"id":"CVE-2004-0981","aliases":["DEBIAN-CVE-2004-0981","DSA-593-1","EUVD-2004-0979","GHSA-j36p-8jhh-296q","RHSA-2004:636"],"status":"published","title":"Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05843,"percentile":0.93224,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-11-16T00:00:00Z","modified":"2026-10-21T15:47:36Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.1.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.1.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.1.7-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"imagemagick","fixed_in":["6:6.0.6.2-1.5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"imagemagick","fixed_in":["6:6.0.6.2-1.5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"imagemagick","fixed_in":["6:6.0.6.2-1.5"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"imagemagick","fixed_in":["5.4.4.5-1woody4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6:6.0.6.2-1.5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6:6.0.6.2-1.5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6:6.0.6.2-1.5"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4.5-1woody4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ImageMagick-c++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ImageMagick-c++-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ImageMagick-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ImageMagick-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ImageMagick-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ImageMagick-c++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ImageMagick-c++-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ImageMagick-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ImageMagick-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ImageMagick-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ImageMagick-c++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ImageMagick-c++-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ImageMagick-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ImageMagick-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ImageMagick-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ImageMagick-c++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ImageMagick-c++-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ImageMagick-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ImageMagick-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ImageMagick-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.5.6-7"}]}],"bundled":2}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"gentoo","product":"linux"},{"vendor":"imagemagick","product":"imagemagick"},{"vendor":"suse","product":"suse_linux"}],"references":[{"url":"http://www.securityfocus.org/bid/11548","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17903","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/12995/","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://www.ubuntu.com/usn/usn-7-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200411-11.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.imagemagick.org/www/Changelog.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10472","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0981","tags":["advisory"]},{"url":"https://www.ubuntu.com/usn/usn-7-1"},{"url":"http://secunia.com/advisories/12995"},{"url":"https://github.com/advisories/GHSA-j36p-8jhh-296q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0981","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:636","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278401","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=130807","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=138383","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_636.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0827","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617306","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0827","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0827","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0981","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617341","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0981","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0981","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":"published","published":"2004-11-19T05:00:00Z","modified":"2024-08-08T00:39:00.397Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0979","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":"published","published":"2004-11-19T05:00:00Z","modified":"2024-08-08T00:39:00Z","updated_at":"2026-11-03T01:15:16.711153Z"}],"ghsa":[{"id":"GHSA-j36p-8jhh-296q","title":"Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers...","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":"published","published":"2022-04-29T02:58:43Z","modified":"2025-04-03T04:09:10Z","updated_at":"2026-11-02T15:00:41.179225Z"}],"nvd":[{"id":"CVE-2004-0981","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":"published","published":"2005-02-09T05:00:00Z","modified":"2026-06-16T22:06:47.267Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"CVE-2004-0981","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":"published","published":"2005-02-09T05:00:00Z","modified":"2026-04-10T03:35:57.87644Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0981","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":"published","published":"2005-02-09T05:00:00Z","modified":"2026-10-21T15:47:36.312329968Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-593-1","title":"imagemagick - buffer overflow","status":"published","published":"2004-11-16T00:00:00Z","modified":"2026-03-09T02:09:12.713334Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2004:636","title":"Red Hat Security Advisory: ImageMagick security update","status":"published","published":"2024-09-15T14:59:03Z","modified":"2026-06-26T10:01:48Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
