{"id":"CVE-2007-4985","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"ImageMagick before 6.3.5-9 allows context-dependent attackers to cause a denial of service via a crafted image file tha…","description":"ImageMagick before 6.3.5-9 allows context-dependent attackers to cause a denial of service via a crafted image file that triggers (1) an infinite loop in the ReadDCMImage function, related to ReadBlobByte function calls; or (2) an infinite loop in the ReadXCFImage function, related to ReadBlobMSBLong function calls.","ai_summary":null,"severity":"medium","cvss":{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","source":"NVD"},"scores":[{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-399"],"remote":true,"remote_unauth":true,"epss":{"score":0.01814,"percentile":0.79309,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2008-0145.html","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/usn-523-1","kind":"vendor"},{"url":"http://security.gentoo.org/glsa/glsa-200710-27.xml","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0165.html","kind":"vendor"},{"url":"http://www.debian.org/security/2009/dsa-1858","kind":"vendor"},{"url":"http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:035","kind":"vendor"},{"url":"http://www.novell.com/linux/security/advisories/2007_23_sr.html","kind":"vendor"},{"url":"http://www.securityfocus.com/bid/25764","kind":"patch"},{"url":"http://secunia.com/advisories/27364","kind":"other"},{"url":"http://secunia.com/advisories/29857","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/483572/100/0/threaded","kind":"other"},{"url":"http://secunia.com/advisories/27309","kind":"other"},{"url":"http://secunia.com/advisories/29786","kind":"other"},{"url":"http://www.imagemagick.org/script/changelog.php","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2007/3245","kind":"other"},{"url":"http://www.securitytracker.com/id?1018729","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10869","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36740","kind":"other"},{"url":"http://secunia.com/advisories/27048","kind":"other"},{"url":"http://secunia.com/advisories/28721","kind":"other"},{"url":"http://secunia.com/advisories/27439","kind":"other"},{"url":"https://issues.rpath.com/browse/RPL-1743","kind":"other"},{"url":"http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html","kind":"other"},{"url":"http://secunia.com/advisories/26926","kind":"other"},{"url":"http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=596","kind":"other"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=186030","kind":"other"},{"url":"http://secunia.com/advisories/36260","kind":"other"}],"workarounds":null,"vendors":["imagemagick"],"products":["imagemagick"],"cpes":["cpe:2.3:a:imagemagick:imagemagick:5.3.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.3.8:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.4.2.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.4.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.4.4.5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.4.7:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.4.8.2_1.1.0:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.4.8:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.5.3_.2_1.2.0:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.5.4:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.5.6.0_20030409:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.5.6:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.5.7.15:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:5.5.7:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.1:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.2.5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.4.4:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.4:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.6.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.6:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.7:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0.8:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.0:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.1:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.4:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.6:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.7:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1.8:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.1:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.0.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.0.7:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.1:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.3.4:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.4.3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.4.5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.4:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.6:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.7:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.8:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.9.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2.9:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.3.1:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.3.2:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.3.3_3:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.3.3_5:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.3.3_6:*:*:*:*:*:*:*","cpe:2.3:a:imagemagick:imagemagick:6.3.4:*:*:*:*:*:*:*"],"published_at":"2007-09-24T22:00:00.000Z","modified_at":"2026-06-16T22:45:13.130Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4985"}],"links":{"html":"https://flawdb.com/CVE-2007-4985","markdown":"https://flawdb.com/CVE-2007-4985.md","json":"https://flawdb.com/api/v1/entries/CVE-2007-4985"}}