CVE-2005-1275 in Graphicsmagick and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Graphicsmagick | Graphicsmagick | 1.0 1.0.6 1.1 1.1.3 1.1.4 1.1.5 |
| Imagemagick | Imagemagick | 6.0 6.0.1 6.0.2 6.0.2.5 6.0.3 6.0.4+17 more6.0.5 6.0.6 6.0.7 6.0.8 6.1 6.1.1.6 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.2 6.2.0.4 6.2.0.7 6.2.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2005-1275 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-158023-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Published | 2005-04-25 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2005. A medium severity vulnerability affects Graphicsmagick systems (CVE-2005-1275). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2005-1275?
This vulnerability was disclosed in 2005. A medium severity vulnerability affects Graphicsmagick systems (CVE-2005-1275). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2005-1275?
CVE-2005-1275 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. EPSS: 13.9%.
Is CVE-2005-1275 actively exploited?
Public exploit available for CVE-2005-1275. Exploitation risk elevated.
How do I remediate CVE-2005-1275?
Priority: MONITOR.
What systems are affected by CVE-2005-1275?
CVE-2005-1275 affects Graphicsmagick Graphicsmagick; Imagemagick Imagemagick.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Graphicsmagick","product":"Graphicsmagick","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.