Skip to content
Fencer Vulns
medium 5.0

CVE-2005-1275 json

Heap-based buffer overflow in the ReadPNMImage function in pnm.c for ImageMagick 6.2.1 and earlier allows remote attackers to cause a denia…

published 2005-04-25 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-1278

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
13.9%
EPSS 13.9% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • imagemagick Debian 14, Debian 13, Debian 12 6:6.0.6.2-2.3

debian advisories DEBIAN-CVE-2005-1275

  • ImageMagick RHEL 3 5.5.6-14
  • ImageMagick RHEL 4 6.0.7.1-11
  • ImageMagick-c++ RHEL 3 5.5.6-14
  • ImageMagick-c++ RHEL 4 6.0.7.1-11
  • ImageMagick-perl RHEL 3 5.5.6-14
  • ImageMagick-perl RHEL 4 6.0.7.1-11

red hat advisories RHSA-2005:413

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2005-1275 updated

security flaw

  • Red Hat Desktop version 3 ImageMagick 5.5.6-14, ImageMagick-c++ 5.5.6-14, ImageMagick-perl 5.5.6-14 Red Hat Enterprise Linux AS version 3 ImageMagick 5.5.6-14, ImageMagick-c++ 5.5.6-14, ImageMagick-perl 5.5.6-14 Red Hat Enterprise Linux AS version 4 ImageMagick 6.0.7.1-11, ImageMagick-c++ 6.0.7.1-11, ImageMagick-perl 6.0.7.1-11 Red Hat Enterprise Linux Desktop version 4 ImageMagick 6.0.7.1-11, ImageMagick-c++ 6.0.7.1-11, ImageMagick-perl 6.0.7.1-11 Red Hat Enterprise Linux ES version 3 ImageMagick 5.5.6-14, ImageMagick-c++ 5.5.6-14, ImageMagick-perl 5.5.6-14 Red Hat Enterprise Linux ES version 4 ImageMagick 6.0.7.1-11, ImageMagick-c++ 6.0.7.1-11, ImageMagick-perl 6.0.7.1-11
    +2 more products
    Red Hat Enterprise Linux WS version 3 ImageMagick 5.5.6-14, ImageMagick-c++ 5.5.6-14, ImageMagick-perl 5.5.6-14 Red Hat Enterprise Linux WS version 4 ImageMagick 6.0.7.1-11, ImageMagick-c++ 6.0.7.1-11, ImageMagick-perl 6.0.7.1-11
    fixed: vendor fix RHSA-2005:413

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-25527)
  2. Published

Exploit prediction

13.92% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-25527 ImageMagick 6.x - '.PNM' Image Decoding Remote Buffer Overflow dos, 2005-04-25
  • securityfocus.com http://www.securityfocus.com/bid/13351 referenced PoC, tagged "exploit" by a source, unverified
  • seclists.org http://seclists.org/lists/bugtraq/2005/Apr/0407.html referenced PoC, tagged "exploit" by a source, unverified
  • overflow.pl http://www.overflow.pl/adv/imheapoverflow.txt referenced PoC, tagged "exploit" by a source, unverified
  • bugs.gentoo.org http://bugs.gentoo.org/show_bug.cgi?id=90423 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.