
CVE catalog
CVE-2005-0005
imagemagick: CVE-2005-0005
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.38% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | imagemagick | sid | 8:7.1.2.34+dfsg1-1 | fixed |
| Debian | imagemagick | forky | 8:7.1.2.31+dfsg1-1 | fixed |
| Debian | imagemagick | trixie | 8:7.1.1.43+dfsg1-1+deb13u12 | fixed |
| Debian | imagemagick | trixie-security | 8:7.1.1.43+dfsg1-1+deb13u11 | fixed |
| Debian | imagemagick | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u11 | fixed |
| Debian | imagemagick | bookworm-security | 8:6.9.11.60+dfsg-1.6+deb12u14 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | imagemagick | source | sid | 6:6.0.6.2-2.1 | not yet assigned | Not reported | [291118] |
| Debian | imagemagick | source | forky | 6:6.0.6.2-2.1 | not yet assigned | Not reported | [291118] |
| Debian | imagemagick | source | trixie | 6:6.0.6.2-2.1 | not yet assigned | Not reported | [291118] |
| Debian | imagemagick | source | bookworm | 6:6.0.6.2-2.1 | not yet assigned | Not reported | [291118] |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [imagemagick]Unknown
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6-common]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6-doc]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6.q16]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6.q16hdri]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-common]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-doc]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-q16hdri-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-q16-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6-headers]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6.q16-8]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6.q16-dev]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6.q16hdri-8]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6.q16hdri-dev]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagickcore-6-arch-config]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagickcore-6-headers]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagickcore-6.q16-6]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagickcore-6.q16-6-extra]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagickcore-6.q16-dev]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.1dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
Observed:
References
- [https://access.redhat.com/errata/RHSA-2005:070]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2005-0005]
- [https://osv.dev/vulnerability/DSA-646-1]
- [https://security-tracker.debian.org/tracker/CVE-2005-0005]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]