CVE-2026-116156

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -set profile Option

Published Oct 25, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a missing cleanup when the -set profile option is used. An attacker who induces a user to process images with the -set profile option can leak memory, potentially exhausting resources and causing a denial of service.

Analysis

AI-generated

Technical impact

The vulnerability in ImageMagick occurs when the -set profile option is used and a cleanup routine is omitted, causing a memory leak. An attacker who brings a user to process images containing the -set profile flag can repeatedly trigger the leak, eventually exhausting the system's memory and resulting in a denial of service. The flaw is a type of memory management weakness (CWE-401 and CWE-772).

Affected Systems

ImageMagick versions prior to 6.9.13-58 and 7.x prior to 7.1.2-33 are affected. The issue applies to any installation using the open-source ImageMagick software, regardless of platform, that processes images with the -set profile command.

Risk and Exploitability

The CVSS base score is 4.8, indicating moderate severity, and the EPSS score is not available, so the exploit probability is unknown. The vulnerability is not listed in CISA KEV, suggesting it has not been widely reported as exploited. Exploitation requires an attacker to cause the user to process a crafted image with the -set profile flag, so the attack vector is likely indirect through user interaction or a social‑engineering scenario. If successful, the memory exhaustion will lead to process termination or system instability, producing a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13-58 or newer, or 7.1.2-33 or newer, which includes the missing cleanup fix.
  • If upgrading is not immediately possible, disable the use of the -set profile option or restrict its use to trusted users and inputs.
  • Implement memory usage controls or process limits so that a memory leak cannot bring the system to a halt; monitor for abnormal memory consumption indicative of exploitation.

Generated by OpenCVE AI on October 26, 2026 at 01:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a missing cleanup when the -set profile option is used. An attacker who induces a user to process images with the -set profile option can leak memory, potentially exhausting resources and causing a denial of service.
Title ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -set profile Option
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-401
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 7:48 PM
Reserved
Oct 25, 2026, 12:22 PM
Status
Analyzed
Published
Oct 25, 2026, 2:16 PM
Modified
Nov 3, 2026, 6:29 PM
Severity
Low
Public date
Oct 25, 2026, 1:20 PM