Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted PSD to image service
-
DeliveryParseImageResourceBlocks reads attacker-controlled offset
-
ExploitInteger conversion wraps on 32-bit build
-
ExecutionParser enters infinite loop
-
ImpactCPU exhaustion / service hang (DoS)
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires (1) a 32-bit ImageMagick build - the integer-conversion error does not manifest on standard 64-bit builds, which eliminates most modern deployments; (2) the target must decode a PSD file whose image resource block contains a crafted offset value that triggers the conversion error in ParseImageResourceBlocks; and (3) an application path that feeds attacker-controlled images to ImageMagick (e.g., upload-and-convert endpoints). No authentication is indicated by the vector (PR:N) and no user interaction is needed (UI:N) in automated pipelines. The dominant limiting factor is the 32-bit precondition; impact is confined to availability (process hang/CPU exhaustion) with no code execution or data exposure. |
| Impact | This is a moderate-priority, availability-only denial-of-service issue rather than a high-impact flaw. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H = 5.9 Medium) shows no confidentiality or integrity impact - the worst outcome is an infinite loop hanging the process. AC:H and the description's explicit '32-bit builds' qualifier materially constrain exploitability: modern server and desktop ImageMagick deployments are overwhelmingly 64-bit, so the vulnerable population is a subset of all installs. No EPSS score, KEV listing, POC, or SSVC data were supplied in the input; therefore there is no public exploit identified at time of analysis and no evidence of active exploitation. The one strong corroborating signal is high-quality source evidence: vendor security advisory (GHSA-g6p6-3ggg-3w7j) plus the actual fix commits for both the 7.x and 6.x branches, confirming the root cause and the patch. Net: a real but low-urgency bug - patch during normal maintenance, prioritizing 32-bit image-processing services; it does not warrant emergency response. |
| Exploit ScenarioDerived | An attacker uploads a maliciously crafted PSD file to a web service or pipeline that uses a 32-bit ImageMagick build to process user-supplied images. When the PSD decoder parses the image resource blocks, an integer-conversion error on a crafted offset value sends the parser into an infinite loop, pinning CPU and hanging the worker so that image conversion stalls indefinitely. No public exploit code is identified at time of analysis, and the AC:H rating reflects that the crafted offset plus a 32-bit target are both required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Denial of service in ImageMagick's PSD decoder occurs on 32-bit builds when processing a crafted PSD file with a malicious image resource block offset, causing an integer-conversion error that leads to an infinite loop. The vulnerability affects versions prior to 7.1.2-32 (ImageMagick 7) and 6.9.13-57 (ImageMagick 6), with unauthenticated remote attackers able to trigger it (CVSS vector PR:N) but requiring high attack complexity (AC:H) due to the 32-bit precondition and crafted file. No public exploit code or active exploitation has been identified, and the impact is confined to availability; 64-bit builds are not affected.
RemediationAI
Upgrade to ImageMagick 7.1.2-32 or 6.9.13-57 (or later) as provided by the vendor; these releases contain the fix for the PSD decoder. If upgrading is not immediately possible, migrate to a 64-bit ImageMagick build, which is not affected by this 32-bit-specific integer conversion error. Alternatively, disable the PSD coder via ImageMagick's policy.xml (e.g., <policy domain="coder" rights="none" pattern="PSD" />), but this will prevent all legitimate PSD processing and may break workflows that rely on it. Restrict attacker-controlled file uploads to ImageMagick processing endpoints, especially those that accept PSD files, as a compensating control with the trade-off of reduced functionality. For full details, see the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-g6p6-3ggg-3w7j.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the PSD decoder's ParseImageResourceBlocks function within coders/psd.c, where an unsigned-to-signed integer conversion error (CWE-196) can occur on 32-bit builds. When processing a PSD file's image resource block, a crafted offset value that exceeds the remaining buffer length fails proper validation due to size_t being 32-bit, causing an integer wraparound that bypasses the bounds check and leads to an infinite loop. The fix (commits f053f778 for ImageMagick 7 and 61024a26 for ImageMagick 6) adds an explicit check for non-positive offsets and uses size_t casts for length calculations, throwing a CorruptImageError and breaking the loop. The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* confirms all versions before the fixed releases are affected, but only when compiled for 32-bit platforms; 64-bit builds use a 64-bit size_t, preventing the conversion error.
Know when Imagemagick gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N as remote attacker-supplied files are processed; AC:H because exploitation needs a 32-bit build plus a specific crafted offset; only availability (A:H) is affected.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32 and 6.9.13-57, a crafted PSD file can trigger an integer-conversion error in the PSD decoder on 32-bit builds, causing an infinite loop and denial of service. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct
The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary fi
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
EUVD-2026-94382
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB