Heap-based Buffer Overflow in ImageMagick

Currently unrated

CVE-2005-1275

Key Information:

CVE ID
CVE ID:
CVE-2005-1275
Vendor
CVE Published:
25 April 2005

Timeline

  • Vulnerability Reserved

  • Vulnerability published

How risky is it?

  • Unknown: Exploitability over the network not rated
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Why it's rated "Patch this week"
  • EPSS gives it a 13.9% chance of exploitation in the next 30 days.

What is CVE-2005-1275?

A heap-based buffer overflow vulnerability exists in the ReadPNMImage function within the pnm.c file of ImageMagick versions 6.2.1 and earlier. This flaw enables remote attackers to craft a malicious PNM file with a specific small colors value that can trigger an application crash, leading to a denial of service. The vulnerability highlights the importance of validating input files and employing proper memory management to prevent such critical failures.

References

Stack Overflow in ImageMagick

CVE-2025-53101
ImagemagickImagemagick7.4HIGH
View more Imagemagick vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

13% chance of being exploited in the next 30 days.

.