CVE-2026-61866
Received Received - Intake

Memory Leak in ImageMagick JNG Encoder

Vulnerability report for CVE-2026-61866, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-15

Last updated on: 2026-07-15

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-15
Last Modified
2026-07-15
Generated
2026-07-15
AI Q&A
2026-07-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
imagemagick imagemagick to 7.1.2-26 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a memory leak in ImageMagick versions before 7.1.2-26. It occurs in the JNG encoder when a blob file cannot be opened. Attackers exploit this by providing malformed JNG files that cause the application to fail blob operations, leading to resource exhaustion.

Executive Summary

This vulnerability is a memory leak in ImageMagick versions before 7.1.2-26. It occurs in the JNG encoder when a blob file cannot be opened. Attackers exploit this by providing malformed JNG files that cause resource exhaustion through un-released memory.

Impact Analysis

This vulnerability can lead to resource exhaustion on the system running vulnerable ImageMagick versions. It may cause performance degradation or crashes due to memory not being properly released after processing malformed JNG files.

Detection Guidance

Detecting this vulnerability requires checking the installed version of ImageMagick. Run 'convert --version' or 'magick --version' to see if your version is below 7.1.2-26. If it is, the system is vulnerable. Monitor for unusual memory usage when processing JNG files.

Mitigation Strategies

Upgrade ImageMagick to version 7.1.2-26 or later immediately. Disable or restrict processing of JNG files if an upgrade is not immediately possible. Monitor system memory usage for signs of resource exhaustion.

Impact Analysis

This vulnerability can cause resource exhaustion on the system running vulnerable ImageMagick versions. It may lead to degraded performance or crashes due to memory not being released properly after failed blob operations.

Detection Guidance

To detect this vulnerability, monitor for memory leaks when processing JNG files using ImageMagick. Check if your ImageMagick version is below 7.1.2-26. Use commands like 'convert -version' to verify the installed version. Test with malformed JNG files to observe memory consumption patterns.

Mitigation Strategies

Upgrade ImageMagick to version 7.1.2-26 or later to patch the memory leak. If upgrading is not immediately possible, restrict access to ImageMagick processing tools and avoid processing untrusted JNG files until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-61866. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart