CVE-2026-130661
Description
A flaw was found in ImageMagick. A remote attacker could exploit this vulnerability by submitting a specially crafted Adobe Swatch Exchange (ASE) file. Due to a missing security policy check in the ASE decoder, processing the file bypasses configured resource limits, leading to excessive memory consumption and causing a Denial of Service (DoS).
Statement
Red Hat has rated this vulnerability as Moderate severity because, although an unauthenticated attacker can trigger resource exhaustion, the blast radius is restricted to a denial of service without compromising system confidentiality or integrity. Exploitation requires processing an untrusted Adobe Swatch Exchange (ASE) palette file, which represents an atypical input vector compared to common image formats. In standard enterprise deployments, ImageMagick operates as a standalone utility or isolated batch processor, limiting the practical impact to process failure or transient resource starvation.
Mitigation
Disable the ASE coder in the ImageMagick security policy configuration to prevent decoding of Adobe Swatch Exchange files.
1. Edit the ImageMagick policy configuration file (e.g., `/etc/ImageMagick-6/policy.xml` or `/etc/ImageMagick-7/policy.xml`).
2. Add the following rule inside the `<policymap>` section:
xml
<policy domain="coder" rights="none" pattern="ASE" />
3. If ImageMagick is executed within long-running application servers or background daemons, enforce memory constraints at the operating system or systemd level (such as `MemoryMax=` in systemd service units or `ulimit -v`).
Caveats:
Disabling the ASE coder prevents ImageMagick from reading or converting ASE palette files. Any persistent services or web daemons processing images must be restarted for systemd limits or configuration changes to take full 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 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: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.