Vulnerabilities · 2005 · Graphicsmagick
CVE-2005-1275
Graphicsmagick vulnerability
Heap-based buffer overflow in the ReadPNMImage function in pnm.c for ImageMagick 6.2.1 and earlier allows remote attackers to cause a denial of service (application crash) via a PNM file with a small colors value.
Affected products
Graphicsmagick, Imagemagick. 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
- www.imagemagick.org/script/changelog.php · Patch
- bugs.gentoo.org/show_bug.cgi?id=90423 · Exploit
- seclists.org/lists/bugtraq/2005/Apr/0407.html · Exploit
- www.overflow.pl/adv/imheapoverflow.txt · Exploit
- www.securityfocus.com/bid/13351 · Exploit
- www.mandriva.com/security/advisories?name=MDKSA-2005:107
- www.redhat.com/support/errata/RHSA-2005-413.html
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10003
- nvd.nist.gov/vuln/detail/CVE-2005-1275
- cve.org/CVERecord?id=CVE-2005-1275
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.