CVE-2016-5841 in the critical feed json
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation f…
published 2016-12-13 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6776
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.4%
- EPSS 13.4% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fault) or possibly execute arbitrary code via vectors involving the offset variable.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.6.2+dfsg-2
debian advisories DEBIAN-CVE-2016-5841
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.2
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.2
ubuntu advisories UBUNTU-CVE-2016-5841
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 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.45.1
- ImageMagick SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 6.8.8.1-30.2
suse advisories SUSE-SU-2016:1782-1SUSE-SU-2016:1784-1
- imagemagick Alpine 3.3, Alpine 3.2 6.9.6.8-r0
- imagemagick Alpine 3.4 6.9.5.3
alpine advisories ALPINE-CVE-2016-5841
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-5841 updated cvss 7.4
ImageMagick: Integer overflow in MagickCore/profile.c
-
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
13.39% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2016/06/23/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b
vendor-advisory
-
github.com
/ImageMagick/ImageMagick/commits/7.0.2-1
patch, vendor-advisory
-
openwall.com
/lists/oss-security/2016/06/25/3
mailing-list, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2016/06/23/1
mailing-list, exploit, patch, third-party-advisory
-
securityfocus.com
/bid/91394
vdb-entry, third-party-advisory
-
oracle.com
/technetwork/topics/security/bulletinjul2016-3090568.html
third-party-advisory
Sources
- CVE List CVE-2016-5841
- NVD CVE-2016-5841
Fencer Intel 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.