VYPR
Medium severity6.5NVD Advisory· Published Jul 21, 2017· Updated May 13, 2026

CVE-2017-11505

CVE-2017-11505

Description

A malformed JNG file can cause high CPU consumption in ImageMagick's ReadOneJNGImage function due to a controllable large loop.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A malformed JNG file can cause high CPU consumption in ImageMagick's ReadOneJNGImage function due to a controllable large loop.

Vulnerability

The vulnerability resides in the ReadOneJNGImage function in coders/png.c of ImageMagick through versions 6.9.9-0 and 7.0.6-1. A large loop at line 4383 iterates based on a length value read from the file via ReadBlobMSBLong at line 4362, which can be set to an arbitrary 32-bit value by a crafted JNG file. This leads to excessive attempted reads, causing CPU exhaustion [1].

Exploitation

An attacker can exploit this by supplying a specially crafted JNG file (e.g., the provided testcase [1]) to a victim who processes the file with ImageMagick (e.g., using magick identify). No authentication or special network position is required beyond delivering the file through standard means (email, web upload, etc.). The large loop causes many failed I/O operations, consuming CPU resources [1].

Impact

Successful exploitation results in a denial of service (DoS) condition via high CPU consumption. No data confidentiality, integrity, or additional access is compromised; the primary impact is resource exhaustion leading to degraded performance or service unavailability for the process using ImageMagick [1].

Mitigation

ImageMagick has addressed this in subsequent releases (version 7.0.6-2 and later, and likely a patched 6.9.x version). Users should upgrade to a fixed version. If upgrading is not immediately possible, avoid processing untrusted JNG files or restrict file upload handling to limit exposure [1].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

76

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.