CVE-2005-1275: Graphicsmagick

Medium severity, CVSS 5.0. EPSS: 13.9% chance of exploitation in the next 30 days.

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 Graphicsmagick: version 1.0 only; version 1.0.6 only; version 1.1 only; version 1.1.3 only; version 1.1.4 only; version 1.1.5 only
  • ImageMagick ImageMagick: version 6.0 only; version 6.0.1 only; version 6.0.2 only; version 6.0.2.5 only; version 6.0.3 only; version 6.0.4 only; …

Published 2005-04-25. Last modified 2026-06-16.