Skip to main content

ImageMagick EUVDEUVD-2026-140189

| CVE-2026-140364 MEDIUM
Incorrect Conversion between Numeric Types (CWE-681)
2026-12-01 VulnCheck GHSA-xfpg-5pgf-fwwr
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted ICON file to service
  2. Exploit
    ImageMagick ICON decoder parses image
  3. Execution
    Heap buffer over-write corrupts memory
  4. Impact
    Process crash / denial of service

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires the target to decode an attacker-supplied ICON image with a vulnerable ImageMagick build (before 6.9.13-61 in the 6.x branch, or 7.x before 7.1.2-36); the specific trigger within the ICON decoder is not detailed in the available sources beyond 'crafted ICON image.' No authentication is required per PR:N, and no user interaction per UI:N, which fits common server-side auto-processing deployments. Exploitation is limited by high attack complexity and an attack requirement (AC:H/AT:P in the input vector) - the malformed ICON must meet particular decoder conditions, SSVC marks it non-automatable, and the realistic impact is heap corruption causing a crash rather than confirmed control. Deployments that do not accept or process untrusted ICON/image input are not exposed.

Impact

This is a moderate-severity, low-urgency issue rather than a top-priority emergency. The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 6.3 and signals that while the flaw is reachable over the network against an unauthenticated processing path, exploitation carries high attack complexity (AC:H) and a specific attack requirement (AT:P), meaning conditions outside the attacker's full control must align. The impact metrics (VC:N/VI:L/VA:L) and the CWE/description confirm the realistic outcome is heap corruption leading to crashes - a denial-of-service and limited-integrity effect, not confirmed code execution. These signals agree with SSVC (Exploitation: none, Automatable: no, Technical Impact: partial) and with the vuln.today Decision label 'this_month' rather than act_now/emergency. There is no CISA KEV listing and no EPSS score supplied, so widespread or active exploitation is not indicated. One point to verify with the vendor: CWE-681 (Incorrect Conversion between Numeric Types) is the primary CWE while the GHSA advisory also lists CWE-787 (Out-of-bounds Write) and labels it a heap buffer over-write - the write primitive could in principle exceed pure DoS, but no evidence in the provided sources supports memory-disclosure or RCE beyond the crash impact, so it should be treated as DoS/limited-integrity until proven otherwise.

Exploit ScenarioDerived

An attacker crafts a malicious ICON file and submits it to any service or workflow that decodes untrusted images with ImageMagick (for example an upload/avatar/thumbnail pipeline). When the ICON decoder processes the file, it writes past heap buffer bounds, corrupting memory and crashing the process. The high attack complexity (AC:H/AT:P) means the malformed structure must satisfy specific decoder conditions, and no public exploit identified at time of analysis makes reliable weaponization non-trivial.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Heap buffer over-write in ImageMagick's ICON decoder affects 6.x builds before 6.9.13-61 and 7.x builds before 7.1.2-36, where decoding a crafted ICON image writes past the end of a heap buffer, corrupting memory and crashing the process. The issue is unauthenticated and needs no user interaction (CVSS vector PR:N/UI:N), but high attack complexity and an attack requirement gate successful exploitation, and CISA's SSVC assessment rates it non-automatable with partial technical impact; CVE-2026-140364 carries a CVSS 4.0 base score of 6.3 and our independent assessment scores it 6.3 under CVSS 3.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L). No public exploit code was identified at time of analysis and no KEV or exploitation signal is present, so this is a moderate-severity, low-urgency issue rather than a top-priority emergency, prioritized as work for this month. Exposure is limited to deployments that decode attacker-supplied ICON images, which is typical of server-side, batch or upload-processing pipelines that hand untrusted files to ImageMagick.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 7.1.2-36 on the 7.x branch or 6.9.13-61 on the 6.x branch, per the GitHub advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-rqg8-7wq4-54hj; patch availability is confirmed by the vendor and by VulnCheck (https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-in-icon-decoder). Because distributions and downstream applications typically bundle their own ImageMagick build, confirm the embedded library version after upgrading rather than relying on the package manager alone, and note that mixed installations can leave a vulnerable copy on the loader path. Until upgrades land, the exposure reduction consistent with the assessment is to stop feeding untrusted ICON files to ImageMagick at all: deployments that do not accept or process untrusted image input are not exposed, so pipelines that must handle user uploads should reject or convert ICO/CUR files before they reach the decoder, accepting the functional loss of legitimate icon support, and services that do process them should run decoding with resource limits and isolation so that a heap-corruption crash degrades a single sandboxed worker rather than the host process.

Affected VersionsENISA

ImageMagick 7.0.0 <7.1.2-36
ImageMagick 0 <6.9.13-61

Affected Packages

euvd imagemagick fix: 6.9.13-61, 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

The flaw sits in ImageMagick's ICON coder, the component that parses Microsoft ICO/CUR container files: an ICON file is a directory of image entries, each carrying its own dimensions, color-count and size metadata ahead of an embedded bitmap or PNG payload, and the decoder must reconcile those declared values with the actual buffer it allocates. The GitHub security advisory classifies the defect under both CWE-681 (incorrect conversion between numeric types) and CWE-787 (out-of-bounds write), which points to a numeric conversion feeding a size or bounds computation that ends up permitting a write beyond the allocated heap buffer; the specific field and the precise decoder condition that must be met are not described in the available sources, so the trigger beyond 'crafted ICON image' remains unconfirmed. The associated CVSS 4.0 metrics capture the difficulty rather than the mechanism: AC:H and AT:P indicate that only a narrow class of malformed inputs reaches the faulty path, consistent with SSVC marking the issue non-automatable. Practical impact per the advisory and assessment is heap corruption observable as a crash (VC:N/VI:L/VA:L, no confidentiality exposure and no confirmed control of execution), and the CPE string cpe:2.3:a:imagemagick:imagemagick covering both release branches confirms the affected surface is the upstream ImageMagick library itself, including any application, language binding or image-processing service that links it.

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

Network-reachable decoding of an untrusted file with no auth (AV:N/PR:N/UI:N), but specific decoder conditions make it AC:H; heap over-write yields a crash and limited integrity, so A:L/I:L and C:N.

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 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-write in the ICON decoder that occurs when decoding crafted ICON images. Attackers can supply a malicious ICON file that, when processed, writes beyond heap buffer bounds, corrupting heap memory and causing crashes.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image-processing library in web and server pipelines
Social Media
1
Sightings
Data Quality
5 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 0.5%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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