CVE-2005-1275

ImageMagick <6.2.1 - Buffer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2005-1275. PoCs published by Damian Put.

AI-analyzed exploit summary This exploit leverages a client-side buffer overflow in ImageMagick by crafting a malformed PNM file. The vulnerability arises from improper validation of user-supplied strings, leading to a potential denial-of-service condition.

Description

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Damian Put · textdoslinux
https://www.exploit-db.com/exploits/25527

This exploit leverages a client-side buffer overflow in ImageMagick by crafting a malformed PNM file. The vulnerability arises from improper validation of user-supplied strings, leading to a potential denial-of-service condition.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: ImageMagick (versions affected by CVE-2005-1275)
No auth needed
Prerequisites: ImageMagick installed on the target system · Ability to deliver the malformed PNM file to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Vendor Advisory vendor-advisory x_refsource_mandrake
http://www.mandriva.com/security/advisories?name=MDKSA-2005:107
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10003
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/13351
Exploit mailing-list x_refsource_bugtraq
http://seclists.org/lists/bugtraq/2005/Apr/0407.html
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A711
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2005-413.html

Scores

EPSS 0.1392
EPSS Percentile 96.1%

Details

Status published
Products (29)
graphicsmagick/graphicsmagick 1.0
graphicsmagick/graphicsmagick 1.0.6
graphicsmagick/graphicsmagick 1.1
graphicsmagick/graphicsmagick 1.1.3
graphicsmagick/graphicsmagick 1.1.4
graphicsmagick/graphicsmagick 1.1.5
imagemagick/imagemagick 6.0
imagemagick/imagemagick 6.0.1
imagemagick/imagemagick 6.0.2
imagemagick/imagemagick 6.0.2.5
... and 19 more
Published Apr 25, 2005
Tracked Since Feb 18, 2026