Vulnerabilities · 2017 · Graphicsmagick
CVE-2017-11722
Graphicsmagick vulnerability
The WriteOnePNGImage function in coders/png.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted file, because the program's actual control flow was inconsistent with its indentation. This resulted in a logging statement executing outside of a loop, and consequently using an invalid array index corresponding to the loop's exit condition.
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/f423ba88ca4e · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W
- www.debian.org/security/2018/dsa-4321
- nvd.nist.gov/vuln/detail/CVE-2017-11722
- cve.org/CVERecord?id=CVE-2017-11722
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.