Vulnerabilities · 2017 · Graphicsmagick
CVE-2017-14042
Graphicsmagick vulnerability
A memory allocation failure was discovered in the ReadPNMImage function in coders/pnm.c in GraphicsMagick 1.3.26. The vulnerability causes a big memory allocation, which may lead to remote denial of service in the MagickRealloc function in magick/memory.c.
Affected products
Graphicsmagick. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Graphicsmagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- hg.code.sf.net/p/graphicsmagick/code/rev/3bbf7a13643d · Patch
- blogs.gentoo.org/ago/2017/08/28/graphicsmagick-memory-allocation-failure-in-magickrealloc- · Exploit
- www.securityfocus.com/bid/100556 · Third Party Advisory
- usn.ubuntu.com/4206-1/
- nvd.nist.gov/vuln/detail/CVE-2017-14042
- cve.org/CVERecord?id=CVE-2017-14042
More vulnerabilities in Graphicsmagick products
CVE-2025-32460CVE-2025-27796CVE-2025-27795CVE-2022-1270CVE-2020-21679CVE-2020-12672CVE-2020-10938CVE-2019-19953All 121
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.