CVE-2016-5841: imagemagick Integer Overflow or Wraparound
CVSS: 9.8v3.0CriticalModified
AliasesALPINE-CVE-2016-5841UBUNTU-CVE-2016-5841DEBIAN-CVE-2016-5841CGA-9j83-75j2-55jqCGA-fhv5-xwxf-59cf
Published 13-12-2016Last modified 06-08-2024
Vulnerability summary
CVE-2016-5841 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in imagemagick. EPSS estimates a 13.39% chance of exploitation in the next 30 days, higher than 96.3% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
13.39%
0%100%
Medium · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 13-12-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 5 agree
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
13.39%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
0.00 pp
From 13.39% on 19-09-2026
19-09-202619-10-2026
EPSS score13.39%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- imagemagick< 6.9.6.8-r0 | < 6.9.5.3
Chainguard1 product
- imagemagick-6All versions (No fix recorded)
Debian1 product
- imagemagick< 8:6.9.6.2+dfsg-2
Imagemagick1 product
- imagemagick≤ 7.0.2-0
Oracle1 product
- solarisEOL10.0 | 11.3
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.2 | < 8:6.8.9.9-7ubuntu5.2
6 vendors · 6 products
References
11 links- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.htmlX Refsource CONFIRMThird Party AdvisoryAdvisory
- www.openwall.com/lists/oss-security/2016/06/25/3Mailing ListX Refsource MLISTPatchThird Party AdvisoryFIX
- github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294bX Refsource CONFIRMVendor AdvisoryAdvisory
- www.openwall.com/lists/oss-security/2016/06/23/1Mailing ListX Refsource MLISTExploitPatchThird Party AdvisoryREPORTFIX