CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2026-116151

Description

A flaw was found in ImageMagick. A remote attacker can cause a Denial of Service (DoS) by supplying a specially crafted image file to be encoded into the JPEG Network Graphics (JNG) format. Due to a failure to properly release allocated memory in the JNG encoder, processing these files can lead to memory exhaustion and service instability.

Statement

This vulnerability is rated as Low severity because triggering the memory leak requires encoding files into the uncommon JNG format, and the blast radius is restricted to minor resource consumption without affecting system integrity or confidentiality. In typical Red Hat Enterprise Linux environments, ImageMagick runs primarily as a short-lived command-line utility where process termination automatically frees allocated memory, limiting the impact of memory leaks. Sustained resource exhaustion would only occur in long-running services or batch conversion pipelines that repeatedly process untrusted input directed to the JNG encoder.

Mitigation

Disable the JNG coder in the ImageMagick security policy configuration.

To prevent the JNG encoder from being invoked, edit the ImageMagick policy configuration file (such as `/etc/ImageMagick-6/policy.xml` or `/etc/ImageMagick-7/policy.xml`, depending on the installed distribution) and insert the following line within the `<policymap>` element:

xml
<policy domain="coder" rights="none" pattern="JNG" />

Caveats:
Disabling the JNG coder will prevent ImageMagick from reading or generating JNG files. Any workflows or applications relying specifically on JNG conversion will fail.

Warning:
If ImageMagick is used by persistent background processes or web application daemons, those services must be restarted for the policy changes to take effect.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score3.7N/A3.7
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactLowN/ALow

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Frequently Asked Questions

Want to get errata notifications? Sign up here.