Severity by source
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.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.
More in Imagemagick
View allReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
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
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
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
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
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
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
A vulnerability was found in ImageMagick. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to R
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory cor
Same weakness CWE-401 – Memory Leak
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44615
GHSA-848j-9x6v-4m2q