CVE-2026-130659

ImageMagick before 7.1.2-35 Resource Exhaustion via Unlimited Image Profiles

Published Nov 18, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability in various coders that allows attackers to allocate excessive memory by supplying images with many profiles. Attackers can craft images containing a high number of embedded profiles to exhaust memory and cause denial of service, bypassing security policy limits.

Analysis

AI-generated

Technical impact

ImageMagick functions that parse image metadata can be exploited to inject an arbitrary number of image profiles, allowing attackers to bypass configured policy limits. This results in uncontrolled allocation of memory during image decoding, which can exhaust available system resources and lead to a denial of service. The weakness corresponds to the common flaw of Resource Exhaustion (CWE‑770).

Affected Systems

The vulnerability affects all installations of ImageMagick version 7.1.2 and earlier that allow unlimited profiles. Any system running a pre‑7.1.2‑35 release, especially those exposing image decoding through web or file processing services, is susceptible. The issue is present in all ImageMagick products irrespective of the operating system, as it is driven by the core library.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate risk. The EPSS score is currently unavailable, so the current likelihood of exploitation cannot be quantified, but denial of service threats can have significant business impact. The vulnerability is not listed in the CISA KEV catalog. Attackers can release crafted image files that contain a very high number of embedded profiles; when processed by ImageMagick the library discards policy limits and allocates memory until the system runs out. The likely attack vector is the processing of externally supplied images via remote image processing services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2‑35 or a later release that contains the memory allocation restriction.
  • If immediate upgrade is not feasible, edit the policy.xml file to explicitly restrict the maximum number of profiles per image or set a global memory limit.
  • Run image processing workloads inside a sandboxed or containerized environment with enforced memory quotas to prevent local resource exhaustion.

Generated by OpenCVE AI on November 18, 2026 at 19:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description ImageMagick before 7.1.2-35 contains a policy bypass vulnerability in various coders that allows attackers to allocate excessive memory by supplying images with many profiles. Attackers can craft images containing a high number of embedded profiles to exhaust memory and cause denial of service, bypassing security policy limits.
Title ImageMagick before 7.1.2-35 Resource Exhaustion via Unlimited Image Profiles
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-770
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 11:33 AM
Reserved
Nov 17, 2026, 3:34 PM
Status
Awaiting Analysis
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 12:17 PM