CVE-2026-130655
Description
A flaw was found in ImageMagick. This vulnerability allows an attacker to cause a Denial of Service (DoS) by submitting a specially crafted image file to the application's image decoders, including BGR, CMYK, GRAY, RGB, YCBCR, and YUV. Processing the malformed image triggers an application crash, disrupting image processing services.
Statement
This vulnerability is rated as Moderate impact because successful exploitation results strictly in an application crash and denial of service, with no compromise to system confidentiality or integrity. On Red Hat Enterprise Linux systems, ImageMagick is commonly invoked as an on-demand command-line utility or spawned by background web services to transform media files. While terminating an individual conversion process has a localized blast radius, applications running automated or unattended media parsing pipelines could experience service disruption if an untrusted user submits malformed files targeting the affected raw color decoders.
Mitigation
Disable the vulnerable decoders using the ImageMagick security policy.
Add the following rules inside the <policymap> section in /etc/ImageMagick-6/policy.xml (for ImageMagick 6) or /etc/ImageMagick-7/policy.xml (for ImageMagick 7):
<policy domain="coder" rights="none" pattern="BGR" />
<policy domain="coder" rights="none" pattern="CMYK" />
<policy domain="coder" rights="none" pattern="GRAY" />
<policy domain="coder" rights="none" pattern="RGB" />
<policy domain="coder" rights="none" pattern="YCBCR" />
<policy domain="coder" rights="none" pattern="YUV" />
Caveats:
Preventing access to these decoders stops ImageMagick from processing files in BGR, CMYK, GRAY, RGB, YCBCR, and YUV formats, which may break dependent workflows or applications. If ImageMagick is invoked by persistent background services or web application workers (such as httpd, nginx, or php-fpm), restart those services to ensure the modified policy is loaded.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.3 | N/A | 5.3 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | Low | N/A | Low |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.
Integrity,Confidentiality
Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory
In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.