Infinite loop in ImageMagick - CVE-2017-17682
Published: December 14, 2017 / Updated: January 6, 2025
Vulnerability identifier: #VU46327
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17682
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to infinite loop in coders/wpg.c when handling wpg image files. A remote attacker can consume all available system resources and cause denial of service conditions.
Affected software
ImageMagick
Debian Linux
imagemagick (Debian package)
Debian Linux
imagemagick (Debian package)
How to mitigate CVE-2017-17682
Install update from vendor's website.
ImageMagick - update to 7.0.7-13
imagemagick (Debian package) - update to 8:6.7.7.10-5+deb7u19
imagemagick (Debian package) - update to 8:6.7.7.10-5+deb7u19