Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted PSD to image endpoint
-
ExploitImageMagick 32-bit PSD decoder parses file
-
ExecutionInteger-conversion error in resource-block offset handling
-
ImpactInfinite loop exhausts CPU, denial of service
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Requires the target to run a 32-bit ImageMagick build older than 7.1.2-32 (7.x branch) or 6.9.13-57 (6.x branch) - the advisory and both fix commits state the infinite loop is reachable on 32-bit builds only, so 64-bit builds are not affected. The attacker must get a crafted PSD file processed by the PSD decoder (e.g., an image-upload, conversion, or thumbnail pipeline that invokes ReadPSDImage). The flaw is in ParseImageResourceBlocks where an unvalidated/negative image-resource-block offset fails the pre-patch bounds check and loops indefinitely. Primary limiting factor: the 32-bit build requirement; no authentication or user interaction is needed where PSD processing is exposed. Impact is availability only (CPU/service exhaustion) - no confidentiality or integrity impact. |
| Impact | This is a memory-safety-adjacent availability flaw (CWE-196 integer conversion leading to CWE-835 infinite loop per the GHSA) in the ImageMagick PSD decoder. The supplied CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) describes a network-reachable, unauthenticated, availability-only impact, which is consistent with image-upload/conversion pipelines where attacker-supplied files reach the decoder. However, every intelligence signal points to modest real-world risk rather than an emergency: EPSS is 0.40% (32nd percentile), the CVE is NOT in CISA KEV, and the CISA SSVC framework records Exploitation: none, Automatable: no, Technical Impact: partial. The vuln.today decision label is 'this_week' - a scheduled-patch priority, not act_now/emergency. Crucially, the GHSA advisory and both fix commits confirm the defect is reachable ONLY on 32-bit builds, a significant limiter given most production ImageMagick deployments today are 64-bit. The CVSS AC:L arguably understates difficulty because exploitation depends on a non-attacker-controlled deployment property (a 32-bit build); this is a deployment constraint rather than a strict CVSS base metric, but defenders should weight it. Net: a genuine denial-of-service bug worth patching on a normal cycle, not a high-CVSS-but-illusory issue, yet far from a drop-everything item for the majority of (64-bit) installations. |
| Exploit ScenarioDerived | An attacker submits a crafted PSD file to an application that passes uploaded images to a vulnerable 32-bit ImageMagick build (e.g., a web upload, thumbnailing, or conversion service). When the PSD decoder parses the malformed image-resource-block offsets, an integer-conversion error sends ParseImageResourceBlocks into an infinite loop, pinning CPU and causing denial of service. No public exploit was identified at time of analysis; the only public artifacts are the vendor advisory and patch commits. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 22, 2026
A crafted PSD file can drive the ImageMagick PSD decoder into an infinite loop, consuming CPU indefinitely and denying service to any application that processes untrusted images. The flaw is an unvalidated image-resource-block offset in ParseImageResourceBlocks (CWE-196 integer conversion, escalating to CWE-835 infinite loop) that only manifests on 32-bit builds: ImageMagick 7.x before 7.1.2-32 and 6.x before 6.9.13-57, while 64-bit builds are not affected. Exploitation requires no authentication or user interaction wherever PSD parsing is exposed (upload, conversion, or thumbnail pipelines), but SSVC records Exploitation: none and Automatable: no, no public exploit is identified at time of analysis, and EPSS is modest at 0.40% (32nd percentile); availability-only impact drives the 7.5 CVSS score.
Earlier versions of this analysis (1)
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
Vendor-released patch: upgrade to ImageMagick 7.1.2-32 or 6.9.13-57, which contain the ParseImageResourceBlocks offset validation (commits f053f778409932d55b95758c4b1516b63191d1eb for 7.x and 61024a2677a3c7973a2dd27170877d8e51419473 for 6.x) and reject malformed resource blocks with a CorruptImageError instead of looping. Verify the deployed branch and bitness first: hosts running 64-bit builds are not exposed to this specific loop, but should still be brought to the fixed release per the advisory. Where immediate upgrade is not possible, the only load-bearing compensating control is removing 32-bit ImageMagick builds from paths that decode untrusted PSD input, or refusing PSD files at the upload or conversion boundary, since the loop is entered during PSD decoding before any content is returned; blocking PSD by magic bytes or extension costs functionality for legitimate Photoshop workflows and must be paired with a strict allowlist of accepted formats. Resource limits such as CPU timeouts or process-level watchdogs on image conversion workers do not prevent the hang but will terminate a stuck worker, at the cost of dropped jobs and possible worker churn, and a timeout must be short enough to bound the DoS window. Note that no exploit code is publicly identified at time of analysis, and the priority label places this in the this-week remediation window rather than emergency response.
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
ImageMagick's PSD coder (coders/psd.c) parses Adobe Photoshop image resource blocks, walking a sequence of typed records whose declared offsets and lengths are read from the file and used to advance a pointer within the block buffer. Prior to the fix, the bounds check compared pointer arithmetic against the buffer end but did not reject a negative or zero offset, and on 32-bit builds the integer handling of that offset allowed the resulting conversion to wrap, so the walk could fail to advance and loop forever inside ParseImageResourceBlocks. Both fix commits (f053f778 for the 7.x branch, 61024a26 for the 6.x branch) add an explicit (offset <= 0) test, a pointer-plus-offset upper-bound test and a size_t position/offset sum test against the buffer length, and now raise a CorruptImageError 'Invalid PSD resource block offset' with an ExceptionInfo parameter threaded into ParseImageResourceBlocks from ReadPSDImage. The underlying weakness class is CWE-196 (unsigned/signed conversion), which the GHSA pairs with CWE-835 (loop with unreachable exit condition). Because the defect lives in offset arithmetic tied to 32-bit integer width, 64-bit deployments cannot reach the non-advancing state, which sharply limits the exposed population despite the AV:N/AC:L/PR:N/UI:N vector.
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:L/PR:N/UI:N/S:U/C:N/I:N/A:H
File reaches the decoder over the network without auth or interaction (AV:N/PR:N/UI:N), triggering availability-only DoS (A:H, C:N/I:N); the 32-bit-only requirement is a deployment limiter rather than a base-metric change, so AC:L is retained.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Technical POC Analysis
No patch diff, commit, or PoC code was supplied with this evidence - only the GitHub Security Advisory GHSA-g6p6-3ggg-3w7j.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity denial-of-service vulnerability in ImageMagick's 32-bit builds allows a crafted PSD file to cause an infinite loop, exhausting CPU resources and disrupting any service that processes untrusted images. While only 32-bit systems are affected and no exploits are known, the ease of triggering the flaw through common image upload and conversion pipelines warrants immediate remediation to prevent operational outages.
Apply vendor patch.
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
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
EUVD-2026-94382
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB