Integer overflow in ImageMagick - CVE-2016-5841

 

Integer overflow in ImageMagick - CVE-2016-5841

Published: December 13, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32210
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-5841
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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 software

ImageMagick
Amazon Linux AMI
imagemagick (Alpine package)
ImageMagick

How to mitigate CVE-2016-5841

Install update from vendor's website.

ImageMagick - update to 7.0.2-1
imagemagick (Alpine package) - update to 6.9.6.8-r0
ImageMagick - update to 6.9.10.68-3.22

External References

Related Security Bulletins