{"api_version":"1","generated_at":"2026-07-23T22:42:23+00:00","cve":"CVE-2016-7540","urls":{"html":"https://cve.report/CVE-2016-7540","api":"https://cve.report/api/cve/CVE-2016-7540.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-7540","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-7540"},"summary":{"title":"CVE-2016-7540","description":"coders/rgf.c in ImageMagick before 6.9.4-10 allows remote attackers to cause a denial of service (assertion failure) by converting an image to rgf format.","state":"PUBLISHED","assigner":"debian","published_at":"2017-04-20 18:59:01","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-19","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/pull/223","name":"https://github.com/ImageMagick/ImageMagick/pull/223","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Vendor Advisory"],"title":"Fix abort when writing to rgf format by dlech · Pull Request #223 · ImageMagick/ImageMagick · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/09/22/2","name":"http://www.openwall.com/lists/oss-security/2016/09/22/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Re: CVE Requests: Various ImageMagick issues (as reported in the Debian BTS)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7","name":"https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Fix abort when writing to rgf format · ImageMagick/ImageMagick@a0108a8 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/93228","name":"http://www.securityfocus.com/bid/93228","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"ImageMagick CVE-2016-7540 Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1378777","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1378777","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1378777 – (CVE-2016-7540) CVE-2016-7540 ImageMagick: writing to rgf format aborts","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060","name":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug #1594060 “abort when writing rgf format” : Bugs : imagemagick package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7540","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7540","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"7540","vulnerable":"1","versionEndIncluding":"6.9.4-9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"imagemagick","cpe5":"imagemagick","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T02:04:54.932Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7"},{"name":"[oss-security] 20160922 Re: CVE Requests: Various ImageMagick issues (as reported in the Debian BTS)","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/09/22/2"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/ImageMagick/ImageMagick/pull/223"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1378777"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060"},{"name":"93228","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/93228"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-06-19T00:00:00.000Z","descriptions":[{"lang":"en","value":"coders/rgf.c in ImageMagick before 6.9.4-10 allows remote attackers to cause a denial of service (assertion failure) by converting an image to rgf format."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-04-20T17:57:01.000Z","orgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","shortName":"debian"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7"},{"name":"[oss-security] 20160922 Re: CVE Requests: Various ImageMagick issues (as reported in the Debian BTS)","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/09/22/2"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/ImageMagick/ImageMagick/pull/223"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1378777"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060"},{"name":"93228","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/93228"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2016-7540","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"coders/rgf.c in ImageMagick before 6.9.4-10 allows remote attackers to cause a denial of service (assertion failure) by converting an image to rgf format."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7","refsource":"CONFIRM","url":"https://github.com/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7"},{"name":"[oss-security] 20160922 Re: CVE Requests: Various ImageMagick issues (as reported in the Debian BTS)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/09/22/2"},{"name":"https://github.com/ImageMagick/ImageMagick/pull/223","refsource":"CONFIRM","url":"https://github.com/ImageMagick/ImageMagick/pull/223"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1378777","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1378777"},{"name":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060","refsource":"CONFIRM","url":"https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1594060"},{"name":"93228","refsource":"BID","url":"http://www.securityfocus.com/bid/93228"}]}}}},"cveMetadata":{"assignerOrgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","assignerShortName":"debian","cveId":"CVE-2016-7540","datePublished":"2017-04-20T18:00:00.000Z","dateReserved":"2016-09-09T00:00:00.000Z","dateUpdated":"2024-08-06T02:04:54.932Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-04-20 18:59:01","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-19","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","versionEndIncluding":"6.9.4-9","matchCriteriaId":"9AA88CB2-C24B-49D9-A1C3-2A9B65DB87B6"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"7540","Ordinal":"1","Title":"CVE-2016-7540","CVE":"CVE-2016-7540","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"7540","Ordinal":"1","NoteData":"coders/rgf.c in ImageMagick before 6.9.4-10 allows remote attackers to cause a denial of service (assertion failure) by converting an image to rgf format.","Type":"Description","Title":"CVE-2016-7540"},{"CveYear":"2016","CveId":"7540","Ordinal":"2","NoteData":"2017-04-20","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"7540","Ordinal":"3","NoteData":"2017-04-20","Type":"Other","Title":"Modified"}]}}}