Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach ShearRotateImage via local API
-
ExploitSupply crafted out-of-bounds argument
-
ImpactOver-write heap buffer, corrupt memory and crash application
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
|
| Exploitation Conditions | Exploitation requires the attacker to reach ImageMagick's ShearRotateImage method, which the vendor states is ONLY accessible through the API (not via standard command-line image conversion or untrusted file parsing) and to control the specific argument that triggers the out-of-bounds heap write. This means the surrounding application must expose or call ShearRotateImage with attacker-influenced parameters. Limiting factors are significant: the CVSS 4.0 vector is local (AV:L) with high attack complexity (AC:H), a present attack requirement (AT:P), and passive user interaction (UI:P), and the documented impact is limited to a crash (VA:L) with no confidentiality or integrity effect - so realistic risk is a denial of service in applications that programmatically invoke this API, not remote unauthenticated compromise. |
| Impact | This is a low-priority issue, consistent with its CVSS 4.0 base score of 2.0 and the vuln.today 'monitor' decision label. The vendor-supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L) tells a coherent, low-risk story: the flaw is reachable only through a local attack vector, carries high attack complexity plus an additional attack requirement (AT:P), needs passive user interaction (UI:P), and yields only limited availability impact (VA:L) with zero confidentiality or integrity impact. The description reinforces this - the ShearRotateImage method is 'only reachable through the API,' so an attacker must already be able to feed a crafted argument into a program that calls the ImageMagick API, not reach it over the network. No EPSS score is provided in the input and the CVE is not on CISA KEV, so there is no signal of active exploitation; exploitation status is best described as no public exploit identified at time of analysis. The signals do not conflict: a low CVSS, a 'monitor' label, availability-only impact, and the absence of KEV/EPSS all point to a crash-class bug rather than a remotely weaponizable vulnerability. The one point to verify is whether a heap over-write (CWE-787/CWE-131) could be driven beyond a crash to memory corruption with security consequences; the vendor advisory characterizes the outcome as heap corruption and an application crash, so availability-only is the documented impact, but the write primitive warrants the patch regardless. |
| Exploit ScenarioDerived | An application or service that exposes ImageMagick's ShearRotateImage through its own API or processing pipeline receives attacker-influenced input that reaches a specific argument of that method. The crafted argument causes a write beyond the bounds of a heap buffer, corrupting heap memory and crashing the host application (denial of service). No public exploit code was identified in the provided sources, and exploitation requires local API-level reach plus the conditions reflected in AC:H/AT:P/UI:P, making reliable triggering non-trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Heap buffer overflow in ImageMagick's ShearRotateImage method allows an attacker who can control the argument passed to that API call to write past the end of a heap buffer, corrupting memory and crashing the application. Affected are ImageMagick 6.x before 6.9.13-61 and 7.x before 7.1.2-36; the method is only reachable through the API, not through standard command-line conversion or parsing of untrusted image files, and the CVSS 4.0 base score is 2.0 (local, high complexity, availability-only impact). No public exploit has been identified at the time of analysis and the issue is not in CISA KEV; the vuln.today decision label is monitor, consistent with a denial-of-service risk confined to applications that programmatically invoke this API with attacker-influenced parameters.
RemediationAI
Vendor-released patch: ImageMagick 7.1.2-36 on the 7.x branch and 6.9.13-61 on the 6.x branch; patch availability is confirmed by the vendor, so upgrade to the fixed release matching the branch in use. Details and the fixed package versions are in the GitHub advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8xm2-q8hq-m68q, with additional context in the VulnCheck advisory at https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-via-shearrotateimage. Where the upgrade cannot be applied immediately, the compensating control follows directly from the API-only reachability: ensure application code never passes attacker-influenced values as the argument to ShearRotateImage and do not expose any wrapper, plug-in or service endpoint that lets untrusted callers drive that method, accepting the trade-off that shear and rotate functionality is unavailable for untrusted input; the available sources do not document input validation as a complete substitute for the fixed releases.
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 is a widely deployed C image processing library and toolkit; ShearRotateImage is an internal transformation routine that the vendor states is exposed only through the API rather than through the command-line tools or file-format decoders. The GitHub advisory maps the flaw to CWE-131 (Incorrect Calculation of Buffer Size) and CWE-787 (Out-of-bounds Write): a specific argument causes a heap allocation sized incorrectly relative to the subsequent write, so data is written beyond the end of the heap buffer. Which argument value or which size computation is at fault is not described in the available sources; the published evidence identifies the vulnerable method and the resulting out-of-bounds heap write, not the exact arithmetic path. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, VC:N/VI:N/VA:L) and the independent assessment agree that exploitation requires local reach plus a present attack condition, that no privileges are required per the PR:N metric, and that the demonstrated consequence is a crash rather than code execution or data disclosure. CPE entries for cpe:2.3:a:imagemagick:imagemagick are fully wildcarded and add no version granularity beyond the ranges supplied by EUVD and the advisory.
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
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
API-only reachability and a crafted-argument trigger make it local with high complexity; documented impact is a crash, so A:L with C:N/I:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash the application.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
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-140194
GHSA-825x-h87p-cwj9
NVD
CVE.org
Exploit-DB