Skip to main content

ImageMagick EUVDEUVD-2026-140185

| CVE-2026-140368 LOW
Out-of-bounds Write (CWE-787)
2026-12-01 VulnCheck GHSA-4cgw-v5hg-6x29
2.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted 12-bit image
  2. Exploit
    System invokes vulnerable encoder export path
  3. Execution
    Out-of-bounds heap write triggered
  4. Impact
    Process crash or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Exploitation requires that a crafted image be processed AND encoded through an ImageMagick code path that exports pixels for 12-bit images before writing the image data - i.e., the victim workflow must actually perform a conversion/encode into (or through) a 12-bit-capable output, not merely open or display the input. Limiting factors per the CVSS 4.0 vector: the vector is local (AV:L), complexity is High (AC:H) with a specific attack requirement present (AT:P), and passive user/processing interaction is required (UI:P), so it is not a drive-by remote-unauthenticated trigger against arbitrary ImageMagick usage. Affected builds are ImageMagick < 6.9.13-61 and 7.0.0 through < 7.1.2-36; systems on the fixed releases are not exposed.

Impact

This is a genuinely low-priority issue despite the attention-grabbing "heap buffer overflow / memory corruption" framing, and the signals are consistent rather than conflicting. The CVSS 4.0 base score is 2.0 (Low) with a vector of AV:L/AC:H/AT:P/PR:N/UI:P and only Low vulnerable-system integrity and availability impact (VI:L/VA:L) and no confidentiality impact (VC:N) - meaning local attack vector, high complexity, a specific attack requirement (AT:P), and required user/processing interaction (UI:P). The vuln.today decision label is 'monitor,' not act_now or emergency. There is no CISA KEV listing and no EPSS score supplied, so there is no evidence of active or probabilistic exploitation; exploitation status is 'no public exploit identified at time of analysis' (the VulnCheck and GHSA entries are vendor/research advisories, not verified working exploit code). The one factor that raises baseline exposure is deployment footprint: ImageMagick is extremely widely embedded, so even a low-severity encoder bug touches many systems. Net: real severity is low and the appropriate posture is patch-on-cycle monitoring, not emergency response. No key signals contradict each other here; the main missing datum is EPSS, which is absent (absence is not an error).

Exploit ScenarioDerived

An attacker crafts a malformed image and gets a victim system to convert or re-encode it into an output path that exports pixels for 12-bit images, which triggers an out-of-bounds heap write. In practice this most likely causes a crash (denial of the conversion process) or localized memory corruption rather than reliable code execution, consistent with the Low integrity/availability impact. No public exploit has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 12-bit image encoding path can crash the process or corrupt memory when a crafted image is processed and then encoded. Affected releases are ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36. Exploitation is constrained: the assessed vector is local (AV:L), high complexity (AC:H), requires a specific attack precondition (AT:P) and user/processing interaction (UI:P), with only low integrity and availability impact; no public exploit was identified at time of analysis, and vendor patches are available in 6.9.13-61 and 7.1.2-36.

RemediationAI

Upgrade ImageMagick to 6.9.13-61 or 7.1.2-36, matching the deployed branch; these are the vendor-listed fixed versions. The GHSA advisory (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cf7p-m88c-h9jh) and VulnCheck advisory (https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-when-encoding-12-bit-images) document the issue. If upgrading immediately is not possible, reduce exposure by avoiding conversion or encoding of untrusted images into 12-bit-capable output paths until the fix is applied, since the advisory ties exploitation to that encode step; this is a functionality-limiting compensating measure, not a complete fix, and no other vendor workaround is listed in the available references.

Affected VersionsENISA

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

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

CVE-2026-140368 is a CWE-787 out-of-bounds heap write in ImageMagick encoders that export pixel data for 12-bit images before encoding the image data. The vulnerable component is the ImageMagick image-processing library and CLI, tracked by CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*; the affected ranges are 0 through <6.9.13-61 and 7.0.0 through <7.1.2-36. The advisory states the flaw is reached when a crafted image is processed and encoded through a path that performs the 12-bit pixel export; the exact allocation sizing or stride condition that causes the write past the heap buffer is not described in the supplied sources. This is not a general image-decoding bug: the assessed exploitation conditions require the conversion or encode step, not merely opening or displaying the input.

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 2.0 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.6 LOW

Local because exploitation depends on the system encoding a crafted 12-bit image (AV:L); crafted-input plus specific encoder path justifies AC:H and UI:R; heap over-write yields only Low integrity and availability impact and no confidentiality loss.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
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
LOW 2.0

DescriptionCVE.org

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, triggers an out-of-bounds heap write, causing crashes or memory corruption.

Threat Intelligence Overview

Prevalence
High
widely embedded image-processing library across web servers and 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 LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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