Skip to main content

ImageMagick EUVDEUVD-2026-140270

| CVE-2026-140373 MEDIUM
Out-of-bounds Write (CWE-787)
2026-12-01 VulnCheck GHSA-9362-gp5c-f7f5
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted PCL/PDF/PS/XPS file to decoder
  2. Delivery
    Vulnerable coder parses malformed input
  3. Exploit
    Write past heap buffer bounds (CWE-787)
  4. Execution
    Corrupt adjacent heap memory
  5. Impact
    Crash service or limited integrity impact

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 the target to decode attacker-supplied input through ImageMagick's PCL, PDF, PS (PostScript), or XPS coders - so the application must accept and automatically process these formats (commonly via upload/thumbnail/conversion workflows). A key limiting factor: hardened deployments frequently disable PS/PDF/EPS/XPS handling in ImageMagick's policy.xml (and the Ghostscript delegate PS/PDF depends on), which blocks the vulnerable code paths entirely; environments that have done so are not exposed through these coders. Per the CVSS vector no authentication (PR:N) or user interaction (UI:N) is needed when input reaches an automated decoder, but demonstrated impact is bounded to crashes or limited data-integrity effects, with no confidentiality exposure (VC:N).

Impact

Signals point to a moderate, not emergency, priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, no-privilege, no-interaction trigger, which in isolation looks severe - but the impact metrics cap the real risk: VC:N (no confidentiality loss), VI:L and VA:L (only limited integrity and availability), yielding a 6.9 Medium. The advisory and description explicitly bound the outcome to 'crashes or limited data integrity impact,' so despite the CWE-787 out-of-bounds write class (which can sometimes escalate to code execution), the supplied evidence does not claim arbitrary code execution. The vuln.today decision label is 'this_month,' consistent with patch-in-normal-cycle rather than act_now/emergency. This is NOT in CISA KEV (no confirmed active exploitation), no EPSS score was provided, and no public exploit code is identified in the input. In short: the access conditions are easy but the demonstrated damage is limited, making this a solid routine-patch item rather than a drop-everything crisis; the main caveat is that out-of-bounds heap writes occasionally prove more exploitable than an initial advisory suggests, so the VI:L/VA:L cap should be treated as the vendor's current assessment, not a guarantee.

Exploit ScenarioDerived

An attacker submits a crafted PCL, PDF, PostScript, or XPS file to any service or application that automatically decodes uploaded images with ImageMagick (e.g., an image-processing or thumbnailing pipeline). When the vulnerable coder parses the file, a heap buffer over-write corrupts adjacent memory, most reliably producing a crash (denial of service) and, per the advisory, at most limited data-integrity impact. No public exploit code is identified at time of analysis, and the precise field or parsing step that overflows is not described 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 buffer overflow in ImageMagick's PCL, PDF, PS and XPS decoders lets crafted input write past the bounds of a heap allocation when an image is parsed, resulting in crashes or limited data-integrity effects. All 7.x releases before 7.1.2-36 and all 6.x releases before 6.9.13-61 are affected; per the CVSS vector no authentication (PR:N) or user interaction (UI:N) is required once attacker-supplied input reaches an automated decode path, and there is no confidentiality exposure (VC:N). No confirmed active exploitation (CISA KEV) and no public exploit identified at time of analysis; the assigned priority is moderate, addressed within the monthly patch cycle rather than as an emergency.

RemediationAI

Vendor-released patch: upgrade ImageMagick to 7.1.2-36 or later, or to 6.9.13-61 or later on the legacy 6.x branch - both fixed versions are named in the GitHub security advisory (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mqmh-65w8-fgjp) and the VulnCheck advisory (https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-in-postscript-decoders); distributions that ship ImageMagick as a system package should apply the corresponding vendor package update rather than building from source. Because exposure is confined to the PCL, PDF, PS and XPS decoders, installations that cannot patch immediately can block those code paths in policy.xml by disabling the PS, PDF, EPS, PCL and XPS coders and the Ghostscript delegate they depend on - with the side effect that legitimate PostScript-family uploads, previews and conversions will fail with a policy error, so the change should be tested against existing workflows; conversely, environments where these coders are already disabled in policy.xml are not exposed through these paths. Given the moderate priority (this_month) and the absence of confirmed exploitation, patching in the normal maintenance cycle is appropriate.

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 delegates PostScript-family formats - PCL, PDF, PS and XPS - to external Ghostscript processing through its coder modules, and the flaw is a classic out-of-bounds write (CWE-787) in that decoding path: a crafted file causes a write beyond the end of a heap buffer, corrupting adjacent heap memory. The trigger mechanics are not described in the available sources beyond 'crafted image'; the demonstrated consequences are memory corruption leading to denial of service (crash) or limited integrity impact, matching the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L. The CPE records confirm the affected package as imagemagick:imagemagick across both the 7.x and legacy 6.x branches, with fixes landing in 7.1.2-36 and 6.9.13-61 respectively. Exposure is highly deployment-dependent: ImageMagick's policy.xml is commonly configured to disable PS, PDF, EPS and XPS coders (and the underlying Ghostscript delegate), which removes the vulnerable code paths entirely, so only installations that still process these formats through an automated upload, thumbnail or conversion workflow are reachable.

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.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable decoder, low complexity, no auth or interaction for automated processing (AV:N/AC:L/PR:N/UI:N); advisory bounds impact to limited integrity and availability with no confidentiality loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/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
Low
Attack Requirements
None
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.9

DescriptionCVE.org

ImageMagick before 7.1.2-36 and 6.x before 6.9.13-61 contains a heap buffer overflow in the PCL, PDF, PS, and XPS decoders that writes past the bounds of a heap buffer when processing crafted input. Attackers can supply a crafted image for decoding to corrupt heap memory, causing crashes or limited data integrity impact.

Threat Intelligence Overview

Prevalence
High
ImageMagick is a near-ubiquitous image-processing library across web apps 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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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