CVE-2019-13297: Buffer Overflow
ImageMagick 7.0.8-50 Q16 has a heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage because a height of zero is mishandled.
Other sources
ImageMagick is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by AdaptiveThresholdImage in MagickCore/threshold.c. By sending a specially crafted command, a local attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/ImageMagick 6.9.10to a version that resolves this vulnerability.Fixed in 50 - Upgrade
Upgrade
redhat/ImageMagick 7.0.8to a version that resolves this vulnerability.Fixed in 50 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.3+deb11u4Fixed in 8:6.9.11.60+dfsg-1.3+deb11u3Fixed in 8:6.9.11.60+dfsg-1.6+deb12u2Fixed in 8:6.9.11.60+dfsg-1.6+deb12u1Fixed in 8:7.1.1.43+dfsg1-1Fixed in 8:7.1.1.47+dfsg1-1
Event History
Frequently Asked Questions
What is CVE-2019-13297?
CVE-2019-13297 is a vulnerability in ImageMagick that allows a local attacker to execute arbitrary code or cause a denial of service.
What is the severity of CVE-2019-13297?
The severity of CVE-2019-13297 is high with a CVSS score of 8.8.
Which software versions are affected by CVE-2019-13297?
ImageMagick 7.0.8-50 Q16 and Debian Linux versions 8.0, 9.0, and 10.0 are affected by CVE-2019-13297.
How can I fix CVE-2019-13297?
Apply the necessary patches or updates provided by the software vendors to fix CVE-2019-13297.
Where can I find more information about CVE-2019-13297?
You can find more information about CVE-2019-13297 on the CVE Details website, Ubuntu security notices, and the NIST National Vulnerability Database.