CVE-2016-7540 json
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…
published 2017-04-20 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8393
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.6.2+dfsg-2
debian advisories DEBIAN-CVE-2016-7540
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.2
ubuntu advisories UBUNTU-CVE-2016-7540
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 6.8.8.1-40.1
suse advisories SUSE-SU-2016:2667-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-7540 updated cvss 5.3
ImageMagick: writing to rgf format aborts
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat OpenShift Enterprise 2 ImageMagicknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.77% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-19 Data Processing Errors
References
-
github.com
/ImageMagick/ImageMagick/commit/a0108a892f9ea3c2bb1e7a49b7d71376c2ecbff7
patch
-
github.com
/ImageMagick/ImageMagick/pull/223
issue-tracking, patch, vendor-advisory
-
openwall.com
/lists/oss-security/2016/09/22/2
mailing-list, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1378777
issue-tracking, patch, third-party-advisory
-
bugs.launchpad.net
/ubuntu/+source/imagemagick/+bug/1594060
issue-tracking, third-party-advisory
-
securityfocus.com
/bid/93228
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-7540
- NVD CVE-2016-7540
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.