VDB
CVE-2016-5841
CVE-2016-5841
PUBLISHED
Reported by mitre · Published December 13, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ImageMagick-c++ | Amazon Linux | 6.9.10.68-3.amzn2.0.1 |
| ImageMagick-devel | Amazon Linux | 6.9.10.68-3.amzn2.0.1 |
| ImageMagick-doc | Amazon Linux | 6.9.10.68-3.amzn2.0.1 |
| imagemagick | Alpine | 6.9.6.8-r0, 6.9.5.3 |
| ImageMagick | Amazon Linux | 6.9.10.68-3.amzn2.0.1 |
| ImageMagick-perl | Amazon Linux | 6.9.10.68-3.amzn2.0.1 |
| ImageMagick-c++-devel | Amazon Linux | 6.9.10.68-3.amzn2.0.1 |
| imagemagick | Ubuntu:16.04:LTS | 8:6.8.9.9-7ubuntu5.2 |
| imagemagick | Ubuntu:14.04:LTS | 8:6.7.7.10-6ubuntu3.2 |
| imagemagick | imagemagick | 7.0.2-0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | ImageMagick-c++ | 0 |
| amazon:2 | ImageMagick-devel | 0 |
| amazon:2 | ImageMagick-doc | 0 |
| chainguard | imagemagick-6 | * |
| alpine | imagemagick | 0, 0 |
| amazon:2 | ImageMagick | 0 |
| amazon:2 | ImageMagick-perl | 0 |
| amazon:2 | ImageMagick-c++-devel | 0 |
| n/a | n/a | * |
Timeline
- Jun 27, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (2 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5841
vulnetix vdb fixes CVE-2016-5841
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-5841/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 91394 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- [oss-security] 20160625 Re: Fwd: out-of-bounds read in MagickCore/property.c:1396 could lead to memory leak/ Integer overflow read to RCE mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- [oss-security] 20160623 Fwd: out-of-bounds read in MagickCore/property.c:1396 could lead to memory leak/ Integer overflow read to RCE mailing-listx_refsource_MLIST