---
id: CVE-2026-116156
title: >-
  ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -set
  profile Option
summary: >-
  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, …
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-401
  - CWE-772
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick >= 7.0.0-0 < 7.1.2-33
  - ImageMagick < 6.9.13-58
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-26T19:41:28.462621Z'
published: '2026-10-25'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T19:48:36.513Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116156'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7r5g-p7ff-jgcp
    label: GitHub Security Advisory (GHSA-7r5g-p7ff-jgcp)
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-6.9.13-58-and-7-x-before-7.1.2-33-memory-leak-via-set-profile-option
    label: >-
      VulnCheck Advisory: ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33
      Memory Leak via -set profile Option
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-116156.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-116156'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2560456'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-116156'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-116156'
tags:
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00111
epssPercentile: 0.01328
ingestedAt: '2026-10-25T22:08:29.951Z'
---

## Overview

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.

## Affected

- `ImageMagick >= 7.0.0-0 < 7.1.2-33`
- `ImageMagick < 6.9.13-58`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-25 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-116156.json)
