Skip to main content

ImageMagick CVE-2026-109964

| EUVDEUVD-2026-98684 MEDIUM
Buffer Underwrite ('Buffer Underflow') (CWE-124)
2026-10-13 VulnCheck GHSA-279f-3w5r-54f5
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 PICT to image processor
  2. Delivery
    PICT reaches 32-bit DecodeImage in pict.c
  3. Exploit
    Maximized row/column/bpl bypass bounds checks
  4. Execution
    Pointer arithmetic overflows below heap buffer
  5. Persist
    Write 128 controlled bytes pre-buffer
  6. Impact
    Crash or heap corruption toward code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer boundary checks
Exploitation Conditions

Exploitation requires (1) a 32-bit build of ImageMagick before 7.1.2-33 (v7) or 6.9.13-58 (v6) - 64-bit builds are NOT affected because the pointer-arithmetic overflow does not occur, and (2) the target must process an attacker-supplied PICT file whose row, column, and bytes-per-line values are maximized to defeat the bounds checks in DecodeImage(). The primary limiting factors are the 32-bit architecture dependency (increasingly uncommon in production servers), the high attack complexity of reliably shaping the heap, and the need for the application to accept and decode PICT input. No authentication is required per CVSS PR:N, and no user interaction is needed in automated image-processing pipelines.

Impact

This is a genuine but moderate-priority issue, not a top-tier emergency. The vendor-assigned CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) with a 6.3 base score correctly signals constrained real-world exploitability: although the attack vector is network-reachable and requires no privileges, the high attack complexity (AC:H) and present attack requirements (AT:P) reflect two hard gates - the target must be a 32-bit build, and the attacker must craft a PICT file with simultaneously maximized row, column, and bytes-per-line values to force the pointer-arithmetic overflow past the bounds checks. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or imminent exploitation; the reporting is from VulnCheck as a research disclosure rather than incident-driven. The 'RCE' tag and the description's 'code execution' language indicate worst-case potential, but the vendor rates each of confidentiality, integrity, and availability only Low (VC:L/VI:L/VA:L), implying that a controlled 128-byte heap underwrite most reliably yields crashes/DoS and that reliable code execution is not assumed. The most important caveat: this vulnerability is architecture-specific - 64-bit builds, which dominate modern server and desktop deployments, are not affected by the described pointer-arithmetic overflow, substantially shrinking the exposed population relative to ImageMagick's overall footprint.

Exploit ScenarioDerived

An attacker uploads a malicious PICT image to a web application or service that uses a 32-bit ImageMagick build for server-side image processing (thumbnailing, conversion, metadata extraction). The crafted file sets maximized row, column, and bytes-per-line fields so DecodeImage() in coders/pict.c overflows pointer arithmetic and writes up to 128 attacker-controlled bytes below the heap buffer, most likely crashing the worker but potentially corrupting adjacent heap state toward code execution. No public exploit code was identified at time of analysis, and the high complexity plus 32-bit-only requirement make reliable exploitation difficult.

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

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

Alert me

AnalysisAIv1 – Oct 13, 2026

Heap buffer underwrite in ImageMagick's PICT decoder (coders/pict.c) on 32-bit builds allows unauthenticated remote attackers to corrupt memory below the allocated buffer by supplying a crafted PICT file with maximized row, column, and bytes-per-line values, potentially causing a crash or code execution. Affected versions are ImageMagick before 7.1.2-33 (7.x) and before 6.9.13-58 (6.x) when compiled as 32-bit; 64-bit builds are not affected. No public exploit code has been identified at the time of analysis, and the CVSS v4.0 score is 6.3 (moderate) with high attack complexity per the assessed CVSS:3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).

RemediationAI

Upgrade to ImageMagick 7.1.2-33 or 6.9.13-58, which contain the vendor-released patch. The fix is available via commits 63dde0cf281383ab69432b88305f7dcd6a8ce900 (7.x) and c18c5d5fb7f1d87ddbe0a02e9d1207c89b24588c (6.x). If immediate upgrade is not possible, a compensating control is to disable the PICT coder in ImageMagick's policy.xml file (e.g., <policy domain="coder" rights="none" pattern="PICT" />), which prevents the vulnerable code path from being reached at the cost of losing PICT image processing. Additionally, consider running ImageMagick on 64-bit builds where the overflow does not occur, though this may require infrastructure changes. No public exploit code has been identified at the time of analysis. Refer to GHSA-mqmp-r5jh-jx7w for vendor guidance.

Affected VersionsENISA

ImageMagick 7.0.0-0 <7.1.2-33
ImageMagick 0 <6.9.13-58

Affected Packages

euvd imagemagick fix: 6.9.13-58, 7.1.2-33

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 vulnerability resides in the DecodeImage() function of coders/pict.c, which handles the PICT image format. On 32-bit builds, pointer arithmetic used to track the write position within the pixel buffer can overflow when processing a PICT file with maximized row, column, and bytes-per-line values, causing the write pointer to wrap below the start of the allocated heap buffer. This results in a heap buffer underwrite (CWE-124) of up to 128 controlled bytes. The upstream fix (commits 63dde0cf281383ab69432b88305f7dcd6a8ce900 for 7.x and c18c5d5fb7f1d87ddbe0a02e9d1207c89b24588c for 6.x) adds a bounds check (if (q < pixels) { status=MagickFalse; break; }) to ensure the write pointer never moves below the pixel buffer start. The CPE string cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* indicates all versions are potentially affected until the fixed releases.

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:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.6 MEDIUM

Network-reachable file parsing with no auth (AV:N/PR:N/UI:N), but 32-bit-only plus maximized-field requirement forces AC:H; heap underwrite yields limited Low C/I/A, most likely crash.

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

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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image library, but only 32-bit builds are affected
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.4%
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

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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-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

CVE-2026-23876 CRITICAL POC
9.8 Jan 20

Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d

Vendor StatusVendor

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