Skip to main content

ImageMagick EUVDEUVD-2026-140190

| CVE-2026-140363 MEDIUM
Incorrect Conversion between Numeric Types (CWE-681)
2026-12-01 VulnCheck GHSA-9c9w-c3qf-hvcg
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted EXR image to service
  2. Delivery
    ImageMagick EXR decoder parses large dimensions
  3. Exploit
    Integer conversion error miscalculates buffer
  4. Execution
    Heap buffer over-write corrupts memory
  5. Impact
    Process crash or memory corruption

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires that the target application feed an attacker-supplied EXR (OpenEXR) image to ImageMagick's EXR decoder - i.e., EXR decoding must be reachable with attacker-controlled input (common in image upload, thumbnailing, or conversion pipelines). The specific trigger stated in the sources is an EXR image with large dimensions that causes the heap buffer over-write; no other configuration prerequisite is described. Limiting factors: the CVSS 4.0 vector sets AC:H and AT:P, indicating the attack is not trivially reliable and depends on conditions beyond a single straightforward request; impact is bounded (VC:N, VI:L, VA:L), consistent with crashes/memory corruption rather than confirmed arbitrary code execution. Authentication is unauthenticated (PR:N), but only for applications that actually accept and decode EXR input from untrusted sources.

Impact

This is a medium-severity (CVSS 4.0 base 6.3) memory-corruption flaw whose real-world priority is moderate, not critical. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) indicates a network-reachable, unauthenticated attack but with high attack complexity (AC:H) and a present attack requirement (AT:P), meaning exploitation is not trivially reliable. Crucially, the impact metrics are limited: VC:N (no confidentiality impact) and only VI:L/VA:L, consistent with the described outcome of crashes or heap memory corruption rather than confirmed, reliable code execution. The vendor advisory and NVD assign CWE-681 (incorrect numeric conversion), while the GHSA advisory additionally lists CWE-787 (out-of-bounds write) - together these point to an integer-handling error on large EXR dimensions leading to a heap over-write. On the decision signals: there is NO CISA KEV listing and NO confirmed public exploit code, and no EPSS score was provided in the input, so there is no evidence of active or widespread exploitation. The vuln.today priority is 'this_month' (not act_now/emergency), which aligns with a serious-but-not-urgent memory-safety bug in ubiquitous software. The main risk amplifier is prevalence: ImageMagick is extremely widely deployed as a server-side image-processing component, so any attacker-supplied EXR file reaching a vulnerable decoder is in scope. Net: patch on a normal prioritized cycle; this is a genuine issue worth remediating but not a drop-everything emergency based on the available signals.

Exploit ScenarioDerived

An attacker uploads or otherwise submits a crafted EXR image with abnormally large dimensions to a web application or service that uses ImageMagick to process or convert images. When the EXR decoder parses the file, the oversized dimensions trigger a heap buffer over-write, corrupting adjacent heap memory and typically crashing the process (denial of service) or corrupting data; reliable code execution is not established in the available sources. No public exploit code was identified at time of analysis, and the high attack complexity (AC:H) with a present attack requirement (AT:P) suggests exploitation is not consistently reliable.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Heap buffer overflow in ImageMagick's EXR (OpenEXR) decoder affects all releases before 7.1.2-36 and allows remote attackers to overwrite heap memory by supplying a crafted EXR image with oversized dimensions, resulting in crashes or memory corruption. The CVSS 4.0 base score is 6.3 (with the assessed CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L), reflecting unauthenticated reach but high attack complexity and bounded impact - no confirmed loss of confidentiality and only low integrity/availability effects, consistent with memory corruption rather than demonstrated code execution. Exposure is limited to deployments that actually pass attacker-controlled EXR data into the decoder, such as image upload, thumbnailing, or format-conversion pipelines; no public exploit code has been identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade ImageMagick to 7.1.2-36 or later on every branch in use; the fix is documented in advisory GHSA-7pvc-jpr7-9wxq (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7pvc-jpr7-9wxq), with additional detail in the VulnCheck advisory (https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-in-exr-decoder) and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-140363). Prioritise internet-facing services that accept user-supplied images, since the exploit precondition is simply that attacker-controlled EXR data reaches the decoder; internal or batch installations that only process trusted inputs can follow the normal patching cadence. Where the upgrade cannot be applied immediately, reduce exposure by ensuring untrusted upload and conversion pipelines do not decode EXR input at all - the flaw is only reachable when an attacker-controlled EXR file is actually parsed, so removing EXR from accepted formats or routing such files to a separate, isolated conversion service materially lowers risk, at the cost of losing EXR support for legitimate users or requiring an additional processing hop. After upgrading, confirm the packaged version string reports 7.1.2-36 or higher, since distributions and language bindings frequently ship older vendored copies of the library.

Affected VersionsENISA

ImageMagick 0 <7.1.2-36

Affected Packages

euvd imagemagick fix: 7.1.2-36

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 image processing library and command-line toolkit used for decoding, converting, and thumbnailing a very large number of raster and HDR formats, including OpenEXR (.exr). The vulnerable component is the EXR decoder, which parses dimensions and related header fields from the incoming file before allocating and filling a heap buffer. The vendor advisory classifies the flaw primarily as CWE-681 (incorrect conversion between numeric types), and also as CWE-787 (out-of-bounds write): the stated trigger is an EXR image declaring large dimensions, which leads to a heap buffer over-write. The precise code path and the exact arithmetic that goes wrong are not described in the available sources, so the trigger should be understood at that level of generality rather than as a specific integer-truncation or allocation-size mismatch sequence. Because ImageMagick is commonly embedded in web services, CMS plugins, and document conversion chains, the practical attack surface is any endpoint that accepts user-supplied images and permits EXR decoding. The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* confirms that every release branch up to the fixed version is in scope, and the assessed vector's AC:H with AT:P indicates exploitation is not trivially reliable and depends on conditions beyond a single straightforward request.

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

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Remote attacker-supplied image reaches the decoder (AV:N, PR:N, UI:N), but the large-dimension condition makes it non-trivial (AC:H); no confidentiality impact (C:N) and only limited integrity/availability from heap over-write and crashes.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 16:02 EUVD
CVE Published
Dec 01, 2026 - 14:29 cve.org
MEDIUM 6.3

DescriptionCVE.org

ImageMagick before 7.1.2-36 contains a heap buffer overflow vulnerability in the EXR decoder that allows attackers to overwrite heap memory via crafted images. Attackers can supply an EXR image with large dimensions to trigger the heap over-write, causing crashes or memory corruption.

Threat Intelligence Overview

Prevalence
High
ImageMagick is a near-ubiquitous server-side image-processing component across web applications
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2016-3718 MEDIUM POC
5.5 May 05

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

CVE-2016-3715 MEDIUM POC
5.5 May 05

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

CVE-2017-15277 MEDIUM POC
6.5 Oct 12

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc

CVE-2016-5841 CRITICAL POC
9.8 Dec 13

Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv

CVE-2016-3717 MEDIUM POC
5.5 May 05

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

CVE-2016-5118 CRITICAL
9.8 Jun 10

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit

CVE-2016-5689 CRITICAL POC
9.8 Dec 13

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

CVE-2016-5690 CRITICAL POC
9.8 Dec 13

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

CVE-2016-5691 CRITICAL POC
9.8 Dec 13

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

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2017-14138 CRITICAL POC
9.8 Sep 04

ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy