Skip to main content

ImageMagick EUVDEUVD-2026-140273

| CVE-2026-140370 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-12-01 VulnCheck GHSA-hh9x-73pv-c56w
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted MAC image to service
  2. Delivery
    ImageMagick MAC decoder parses file
  3. Exploit
    Trigger specific decoding failure
  4. Execution
    Heap buffer over-write corrupts memory
  5. Impact
    Process crash or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to pass an attacker-supplied, crafted MAC (MacPaint) image to ImageMagick and for the MAC decoder to reach the specific decoding-failure path described in the advisory - the overflow occurs only 'when a specific decoding failure occurs,' which is why CVSS assigns AC:H/AT:P (the trigger is not fully attacker-controlled and is not described in detail in the sources). No authentication is required (PR:N) and no user interaction (UI:N) beyond the application ingesting the image. Limiting factors: the MAC/MacPaint coder must be enabled and reachable (many deployments accept arbitrary image formats by default), the precise failure condition must be met, and demonstrated impact is bounded to memory corruption and process crash (VC:N, VI:L, VA:L) rather than confirmed code execution or data disclosure. Affected: ImageMagick 7.0.0 before 7.1.2-36 and all 6.x before 6.9.13-61; updating to those fixed versions is the vendor remedy.

Impact

This is a moderate-severity, patch-now-this-month issue rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) describes a network-reachable, unauthenticated flaw, but with high attack complexity (AC:H) and a present attack requirement (AT:P), meaning exploitation depends on a specific decoding-failure path that is not fully attacker-controlled. Impact is deliberately scoped low: VC:N (no confidentiality), VI:L and VA:L - the advisory and description confirm memory corruption and crash, not confirmed code execution. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with the 6.3 score. It is NOT in CISA KEV and no EPSS probability was supplied, so there is no signal of active or widespread exploitation. No verified working exploit code is referenced - only vendor/VulnCheck advisories. Net: a real, broadly-deployed-product vulnerability worth remediating on a normal patch cycle, but currently lacking any exploitation evidence that would elevate it to urgent. Missing data to note explicitly: EPSS score absent, and whether a crafted MAC image can be escalated beyond crash/heap corruption to RCE is not established by the sources.

Exploit ScenarioDerived

An attacker supplies a crafted MAC (MacPaint) image to an application or service that uses ImageMagick for image processing - for example an upload/thumbnailing endpoint. When ImageMagick's MAC decoder hits a specific decoding-failure condition, it writes past the end of a heap buffer, corrupting memory and typically crashing the process. No public working exploit code is identified; given AC:H/AT:P, triggering the precise failure path is non-trivial and reliable weaponization is not demonstrated in the available sources.

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-based buffer overflow in ImageMagick's MAC (MacPaint) decoder allows a crafted image to write past the end of a heap buffer when a specific decoding failure is reached, corrupting heap memory and causing a crash or other memory-corruption effects. ImageMagick 7.x before 7.1.2-36 and 6.x before 6.9.13-61 are affected; the flaw is remotely reachable without authentication when an application passes untrusted images to the library, but exploitation depends on hitting the described failure path, so the assessed risk is moderate and patching is a this-month priority rather than an emergency. No public exploit identified at time of analysis, and no CISA KEV status was provided.

RemediationAI

Vendor-released patch: upgrade ImageMagick 7.x to 7.1.2-36 and ImageMagick 6.x to 6.9.13-61; updating to those fixed versions is the vendor remedy. The GitHub security advisory is https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8c8r-vjh3-j578 and the VulnCheck advisory is https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-in-mac-decoder. No specific compensating controls or workarounds are documented in the provided sources.

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

ImageMagick is a widely used image-processing library and command-line toolkit whose coders convert file formats into internal pixel data. The MAC coder handles Apple MacPaint images. CWE-122 (heap-based buffer overflow, also tagged CWE-787 out-of-bounds write in the advisory) describes the root cause: during a particular decoding failure, the decoder writes beyond the allocated heap buffer. The advisory says this occurs only 'when a specific decoding failure occurs' and does not describe the exact malformed MacPaint structure or failure condition that reaches the overflow. The CVSS 4.0 vector's AC:H/AT:P and the assessed CVSS 3.1 vector's AC:H reflect that the trigger is not fully attacker-controlled, while PR:N and UI:N mean no authentication is required and no user interaction is needed beyond the application ingesting the crafted image. CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* identifies the product family; the affected code is in all 6.x before 6.9.13-61 and 7.0.0 before 7.1.2-36. Demonstrated impact is bounded to memory corruption and process crash (VC:N, VI:L, VA:L), not confirmed code execution or data disclosure.

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

Crafted image is network-deliverable and needs no auth/UI, but the overflow fires only on a specific non-controlled failure path (AC:H); impact is limited to heap corruption and crash (I:L/A:L), no confidentiality (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-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.

Threat Intelligence Overview

Prevalence
High
ImageMagick is a near-ubiquitous image-processing library in web and server pipelines
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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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