Skip to main content

ImageMagick CVE-2026-61862

| EUVDEUVD-2026-44611 LOW
Out-of-bounds Read (CWE-125)
2026-07-15 VulnCheck GHSA-wh42-3hf2-jj9p
2.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted image with non-printable profile terminal byte
  2. Exploit
    Invoke identify command with debug output enabled
  3. Execution
    Off-by-one read past profile buffer boundary
  4. Impact
    Single byte of adjacent process memory disclosed in debug output

Vulnerability Assessment

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

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Exploitation requires three simultaneous non-default conditions: (1) the attacker can cause the identify command to process a crafted image containing a metadata profile with a non-printable terminal byte; (2) debug output is explicitly enabled via a debug flag or configuration - this is not the default operational mode; and (3) the attacker has local access or can influence the image input to an identify invocation. Exploitation is further limited by the local attack vector (AV:L per CVSS 4.0), meaning remote network exploitation is not applicable. The impact ceiling of one byte of adjacent process memory read means even a successful exploit yields negligible information. Standard deployments invoking identify without debug flags are not affected by this vulnerability.

Impact

The CVSS 4.0 score of 2.1 with vector AV:L/AC:H/AT:P/PR:N/UI:N accurately characterizes the constrained real-world risk. The local attack vector (AV:L) limits exposure to contexts where an attacker can supply input to an identify invocation on the target system. High attack complexity (AC:H) and the presence of specific attack requirements (AT:P) reflect that debug output must be explicitly enabled and the profile must contain a non-printable terminal byte - neither of which is a default condition. The impact ceiling is extremely low: a single out-of-bounds byte is disclosed, which in practice is unlikely to contain actionable secrets or enable further compromise. There is no integrity or availability impact. No CISA KEV listing exists and no public exploit code is known, consistent with the minimal EPSS risk implied by this impact profile. Under an SSVC framework this would classify as Track (low urgency): exploitation is not automatable, technical impact is partial and minimal, and the preconditions substantially narrow the realistic attack surface. This is a genuine but very low-priority finding for most environments; the only elevated concern would be automated pipelines that explicitly invoke identify in debug mode against untrusted user-supplied images.

Exploit ScenarioDerived

An attacker with the ability to supply a crafted image file to a pipeline running identify with debug output enabled submits an image containing a metadata profile whose final byte is non-printable. When ImageMagick processes the file in debug mode, the display routine reads one byte past the profile boundary, potentially printing that byte in the debug output stream. No public exploit code exists at time of analysis, and the single-byte disclosure ceiling makes reliable extraction of useful information difficult even in a successful exploit.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 15, 2026

ImageMagick before 7.1.2-26 (7.x branch) and 6.9.13-51 (6.x branch) discloses one byte of process memory beyond a profile boundary when the identify command is run with debug output enabled and the embedded profile ends with a non-printable byte. The out-of-bounds read (CWE-125) is highly conditional - requiring local access, explicit debug mode activation, and a specifically crafted profile payload - keeping real-world impact extremely low despite ImageMagick's broad deployment footprint. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to ImageMagick 7.1.2-26 or later for 7.x deployments, or to 6.9.13-51 or later for 6.x deployments, as documented in the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hwf3-r46v-5ggx. The patch corrects the off-by-one read in the profile display routine. As an immediate compensating control, remove or disable the debug output flag from any identify invocations that process untrusted image input - this directly eliminates the triggering condition without requiring a software upgrade, though it sacrifices debug visibility in those pipelines. Restricting automated pipelines from running identify with debug flags on user-supplied images is the most practical interim mitigation, with no functional side effects on normal image processing workflows.

Affected VersionsENISA

ImageMagick 0 <6.9.13-51
ImageMagick 0 <7.1.2-26

Affected Packages

nuget magick.net-q16-anycpu fix: 14.15.0
nuget magick.net-q16-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-anycpu fix: 14.15.0
nuget magick.net-q16-hdri-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-x64 fix: 14.15.0
nuget magick.net-q16-hdri-x86 fix: 14.15.0
nuget magick.net-q16-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-openmp-x64 fix: 14.15.0
nuget magick.net-q16-x64 fix: 14.15.0
nuget magick.net-q16-x86 fix: 14.15.0
nuget magick.net-q8-anycpu fix: 14.15.0
nuget magick.net-q8-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-x64 fix: 14.15.0
nuget magick.net-q8-x64 fix: 14.15.0
nuget magick.net-q8-x86 fix: 14.15.0
euvd imagemagick fix: 6.9.13-51, 7.1.2-26

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 18 packages in nuget, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ImageMagick is an open-source image processing suite used extensively in web application backends and server-side pipelines via CLI invocation and its MagickCore/MagickWand library bindings. The vulnerability resides in the profile-display logic of the identify command, which renders embedded metadata profiles such as EXIF, ICC, and IPTC. CWE-125 (Out-of-bounds Read) is the root cause: when a profile's terminal byte is non-printable, the display routine advances one position past the allocated profile buffer before returning, exposing a single byte of adjacent process memory. This off-by-one read is gated on debug output being enabled, a non-default operational mode. Affected CPEs are cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* spanning both the 6.x branch (before 6.9.13-51) and the 7.x branch (before 7.1.2-26).

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

Local access required to invoke identify; debug mode and non-printable profile terminal byte are specific high-complexity preconditions; only minimal confidentiality impact from one byte.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/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
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 13:03 EUVD
CVE Published
Jul 15, 2026 - 11:25 cve.org
LOW 2.1

DescriptionCVE.org

ImageMagick before 7.1.2-26 and 6.9.13-51 contains an information disclosure vulnerability: when a profile is displayed with the identify command and the profile value is not printable, a single byte at the end of the profile can be printed (read past the profile boundary). This behavior occurs when debug output is enabled.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
widely used open-source image processing library across web and server stacks
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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