CVE-2016-5841: imagemagick Integer Overflow or Wraparound
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.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?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 versions- 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
EPSS trend
Probability
13.39%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
No change 0.00 pp
From 13.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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