CVE-2017-13147: Input Validation
In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/graphicsmagickto a version that resolves this vulnerability.Fixed in 1.4+really1.3.36+hg16481-2+deb11u1Fixed in 1.4+really1.3.40-4+deb12u1Fixed in 1.4+really1.3.45+hg17696-1Fixed in 1.4+really1.3.46-2 - Upgrade
Upgrade
alpine/graphicsmagickto a version that resolves this vulnerability.Fixed in 1.3.27-r0
Event History
Frequently Asked Questions
What is the severity of CVE-2017-13147?
CVE-2017-13147 has a high severity due to its potential to cause allocation failures in GraphicsMagick.
How do I fix CVE-2017-13147?
To fix CVE-2017-13147, you should upgrade GraphicsMagick to version 1.4+really1.3.36+hg16481-2+deb11u1 or later.
What versions of GraphicsMagick are affected by CVE-2017-13147?
CVE-2017-13147 affects GraphicsMagick version 1.3.26.
Can CVE-2017-13147 lead to application crashes?
Yes, CVE-2017-13147 can cause application crashes due to allocation failures.
Is CVE-2017-13147 specific to any operating system?
CVE-2017-13147 is notably relevant for users of Debian-based systems that run GraphicsMagick.