Skip to main content

ImageMagick CVE-2026-61866

| EUVDEUVD-2026-44615 LOW
Memory Leak (CWE-401)
2026-07-15 VulnCheck GHSA-848j-9x6v-4m2q
2.1
CVSS 4.0 · Vendor: VulnCheck

Severity by source

Vendor (VulnCheck) PRIMARY
2.1 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
2.9 LOW

Local vector and high complexity reflect that triggering the blob failure requires submitting crafted JNG input to an active process; only low availability impact applies with no C or I.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 15, 2026 - 13:03 EUVD
Analysis Generated
Jul 15, 2026 - 12:31 vuln.today
CVE Published
Jul 15, 2026 - 11:25 cve.org
LOW 2.1

DescriptionCVE.org

ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the JNG encoder when a blob cannot be opened. Attackers can trigger the memory leak by providing malformed JNG files that fail blob operations, causing resource exhaustion.

AnalysisAI

Memory leak in ImageMagick's JNG encoder before version 7.1.2-26 enables local resource exhaustion when malformed JNG files cause blob open failures without subsequent memory release. The flaw is classified CWE-401 and carries a CVSS 4.0 score of just 2.1, reflecting a local attack vector, high complexity, and availability-only impact - no confidentiality or integrity loss is possible. No public exploit code and no active exploitation (CISA KEV) have been identified, making this a low-priority finding relevant primarily to services that batch-process untrusted image files.

Technical ContextAI

ImageMagick is a widely used open-source image manipulation library and CLI suite. Its JNG (JPEG Network Graphics) encoder relies on an internal blob abstraction layer for file and stream I/O. CWE-401 (Missing Release of Memory after Effective Lifetime) describes the root cause: on the error path triggered when a blob cannot be opened, the encoder fails to free previously allocated memory, causing a gradual heap leak proportional to the number of failed encode operations. The CPE string cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* covers all ImageMagick versions as the affected set, bounded by the fix in 7.1.2-26. JNG itself is a container format combining JPEG and PNG streams, and its encoder path is distinct from the more commonly exercised JPEG/PNG encode paths, limiting the exposed surface.

RemediationAI

Upgrade to ImageMagick 7.1.2-26 or later, which resolves the missing memory release on the JNG encoder's blob-open failure path, per the upstream advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-99w9-hv66-rfv7. For environments where immediate upgrade is not feasible, JNG format processing can be disabled via ImageMagick's policy.xml by adding a deny policy for the JNG delegate - this prevents parsing of JNG files entirely without affecting JPEG or PNG handling, though it breaks any workflow explicitly requiring JNG output. Additionally, restricting submission of untrusted image content to ImageMagick-based services reduces exposure; monitoring long-running conversion processes for abnormal heap growth can provide early warning of active leakage.

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

CVE-2023-34152 CRITICAL POC
9.8 May 30

A vulnerability was found in ImageMagick. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2019-19952 CRITICAL POC
9.8 Dec 24

In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to R

CVE-2018-14551 CRITICAL POC
9.8 Jul 23

The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory cor

Share

CVE-2026-61866 vulnerability details – vuln.today

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