CVE-2005-0005 in Debian Linux and 5 more products
Heap-based buffer overflow in psd.c for ImageMagick 6.1.0, 6.1.7, and possibly earlier versions allows remote attackers to execute arbitrary code via a .PSD image file with a large number of layers.
Affects 6 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 3.0 |
| Gentoo | Linux | 0.5 0.7 1.1a 1.2 1.4 |
| Graphicsmagick | Graphicsmagick | 1.0 1.0.6 1.1 1.1.3 1.1.4 |
| Imagemagick | Imagemagick | 5.3.3 5.4.3 5.4.7 6.0 6.0.1 6.0.2+18 more6.0.2.5 6.0.3 6.0.4 6.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.2 6.2.0.4 6.2.0.7 |
| Sgi | Propack | 3.0 |
| Suse | Suse Linux | 8.0 8.1 8.2 9.0 9.1 9.2 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Heap-based buffer overflow in psd.c for ImageMagick 6.1.0, 6.1.7, and possibly earlier versions allows remote attackers to execute arbitrary code via a .PSD image file with a large number of layers.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2005-0005 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-009156-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2005-05-02 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2005. A high severity vulnerability affects Debian systems (CVE-2005-0005). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Heap-based buffer overflow in psd.c for ImageMagick 6.1.0, 6.1.7, and possibly earlier versions allows remote attackers to execute arbitrary code via a .PSD image file with a large number of layers. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2005-0005?
This vulnerability was disclosed in 2005. A high severity vulnerability affects Debian systems (CVE-2005-0005). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2005-0005?
CVE-2005-0005 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 4.4%.
Is CVE-2005-0005 actively exploited?
No confirmed active exploitation of CVE-2005-0005 as of 2026-09-25.
How do I remediate CVE-2005-0005?
Priority: MEDIUM. Advisory: http://www.debian.org/security/2005/dsa-646 PSIRT: [email protected]
What systems are affected by CVE-2005-0005?
CVE-2005-0005 affects Debian Debian Linux; Gentoo Linux; Graphicsmagick Graphicsmagick; Imagemagick Imagemagick; Sgi Propack; Suse Suse Linux.
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":"Debian","product":"Debian Linux","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.