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-116147

Description

A flaw was found in ImageMagick. This vulnerability allows an attacker to cause a Denial of Service (DoS) by supplying a specially crafted DJVU image file. When ImageMagick processes the image under conditions where memory allocation fails, the DJVU decoder fails to validate the allocation result, causing the application to crash.

Statement

Red Hat has classified this vulnerability as having a Low severity impact because triggering the flaw requires specific, uncommon preconditions where memory allocation fails during file parsing, and the outcome is limited to a process crash. In typical Red Hat deployments, ImageMagick operates as a transient command-line tool or non-persistent helper, restricting the blast radius to the active conversion task. Furthermore, successful exploitation does not grant unauthorized access, leak sensitive data, or compromise system integrity.

Mitigation

Disable the DJVU format decoder in ImageMagick's security policy configuration:

1. Open the ImageMagick policy file (typically `/etc/ImageMagick/policy.xml` or `/etc/ImageMagick-6/policy.xml`).
2. Add the following entry within the `<policymap>` block:

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

Caveats:
Disabling the DJVU coder prevents ImageMagick from reading or converting DJVU files, which will impact workflows requiring this format.

Warning:
If ImageMagick is executed by persistent application daemons or web services (such as Apache HTTP Server or PHP-FPM), restart those services to ensure the policy changes 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

Red Hat CVSS v3 Score Explanation

Aligned with upstream GHSA-v5f5-4v9x-p3f2 rating (3.7 LOW). Changed AV:L→AV:N and UI:R→UI:N to reflect network-facing image processing pipelines as a realistic deployment scenario.

Frequently Asked Questions

Want to get errata notifications? Sign up here.