CVE-2016-5841
Critical · 9.8CVSS
9.8
EPSS
13.4%
Published
Dec 13, 2016
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.2 | imagemagick | 0 | 6.9.6.8-r0 |
| Alpine:v3.3 | imagemagick | 0 | 6.9.6.8-r0 |
| Alpine:v3.4 | imagemagick | 0 | 6.9.5.3 |
| Chainguard | imagemagick-6 | 0 | 0 |
| Chainguard | imagemagick-6-dev | 0 | 0 |
| Chainguard | imagemagick-6-doc | 0 | 0 |
| Chainguard | imagemagick-6-static | 0 | 0 |
| Debian:11 | imagemagick | 0 | 8:6.9.6.2+dfsg-2 |
| Debian:12 | imagemagick | 0 | 8:6.9.6.2+dfsg-2 |
| Debian:13 | imagemagick | 0 | 8:6.9.6.2+dfsg-2 |
| Debian:7 | imagemagick | 0 | 8:6.7.7.10-5+deb7u8 |
| Debian:8 | imagemagick | 0 | 8:6.8.9.9-5+deb8u4 |
| Mageia:5 | converseen | 0 | 0.8.3-3.1.mga5 |
| Mageia:5 | cuneiform-linux | 0 | 1.1.0-6.1.mga5 |
| Mageia:5 | imagemagick | 0 | 6.9.5.2-1.mga5 |
| Mageia:5 | inkscape | 0 | 0.91-1.1.mga5 |
| Mageia:5 | k3d | 0 | 0.8.0.2-10.1.mga5 |
| Mageia:5 | kcm-grub2 | 0 | 0.5.8-12.2.mga5 |
| Mageia:5 | kxstitch | 0 | 1.2.0-3.1.mga5 |
| Mageia:5 | performous | 0 | 0.8.0-0.20141015.2.1.mga5 |
| Mageia:5 | perl-Image-SubImageFind | 0 | 0.30.0-2.1.mga5 |
| Mageia:5 | pfstools | 0 | 1.8.5-1.1.mga5 |
| Mageia:5 | pstoedit | 0 | 3.62-5.1.mga5 |
| Mageia:5 | pythonmagick | 0 | 0.9.12-1.mga5 |
| Mageia:5 | synfig | 0 | 0.64.1-6.1.mga5 |
| Mageia:5 | vdr-plugin-skinelchi | 0 | 0.2.8-6.1.mga5 |
| Mageia:5 | vdr-plugin-skinenigmang | 0 | 0.1.2-8.1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | ImageMagick | 0 | 6.8.8.1-30.2 |
| SUSE:Linux Enterprise Server 11 SP4 | ImageMagick | 0 | 6.4.3.6-7.45.1 |
| SUSE:Linux Enterprise Server 12 SP1 | ImageMagick | 0 | 6.8.8.1-30.2 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | ImageMagick | 0 | 6.4.3.6-7.45.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | ImageMagick | 0 | 6.8.8.1-30.2 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | ImageMagick | 0 | 6.4.3.6-7.45.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | ImageMagick | 0 | 6.8.8.1-30.2 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | ImageMagick | 0 | 6.8.8.1-30.2 |
| Ubuntu:14.04:LTS | imagemagick | 0 | 8:6.7.7.10-6ubuntu3.2 |
| Ubuntu:16.04:LTS | imagemagick | 0 | 8:6.8.9.9-7ubuntu5.2 |
Related vulnerabilities
- CVE-2016-7799 MagickCore/profile.c in ImageMagick before 7.0.3-2 allows remote attackers to cause a… Also affects imagemagick
- CVE-2016-5118 The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows… Also affects imagemagick
- CVE-2026-23952 ImageMagick is free and open-source software used for editing and manipulating digital… Also affects imagemagick-6
- GHSA-9vj4-wc7r-p844 ImageMagick MSL: Stack overflow via infinite recursion in ProcessMSLScript Also affects imagemagick-6
- CVE-2026-23874 ImageMagick MSL: Stack overflow via infinite recursion in ProcessMSLScript Also affects imagemagick-6
- GHSA-39h3-g67r-7g3c ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails Also affects imagemagick-6
- CVE-2026-22770 ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails Also affects imagemagick-6
- GHSA-7rvh-xqp3-pr8j ImageMagick's failure to limit MVG mutual causes Stack Overflow Also affects imagemagick-6