CVE-2026-116156
Low · 3.3CVSS
3.3
EPSS
0.1%
Published
Oct 25, 2026
CISA due date
—
Cloudanix analysis
A bug in popular image software can slowly use up all available memory when certain image commands are run, eventually causing the program or computer to stop working.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory leak in ImageMagick triggered by missing cleanup logic when the -set profile option is invoked during image processing.
Why it matters to the business
Resource exhaustion can render image-processing workloads unavailable, disrupting any dependent services or pipelines until the affected process is restarted or the system is rebooted.
How an attack unfolds
An attacker supplies an image or command line that exercises the -set profile option; each invocation allocates memory that is never freed, gradually depleting available RAM until the process or host becomes unresponsive.
How to fix it
Upgrade ImageMagick to version 6.9.13-58 or newer (6.x branch) or 7.1.2-33 or newer (7.x branch). Where immediate patching is not possible, restrict use of the -set profile option to trusted inputs only.
How to confirm the fix worked
Confirm the installed ImageMagick version meets or exceeds the fixed releases; execute a controlled test using the -set profile option and monitor memory consumption to verify the leak is absent.
Typical attack path
- Locate systems or workflows that invoke ImageMagick with the -set profile option
- Prepare an input image or command that repeatedly triggers the option
- Convince a user or automated process to execute the command or process the image
- Observe sustained memory growth until denial of service occurs
How to detect it
Review process accounting and system logs for ImageMagick invocations containing the -set profile flag; correlate with host-level memory-utilization metrics that show unexplained, sustained growth.
What your security team should do
- Apply the vendor-supplied update to all ImageMagick installations within the next maintenance window
- Audit scripts and applications for use of the -set profile option and remove it where unnecessary
- Implement resource limits or container isolation around ImageMagick processes to contain memory growth
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-119286 GraphQL-core is a Python port of the GraphQL.js reference implementation. CWE-401
- CVE-2026-116157 ImageMagick before 7.1.2-33 contains a memory leak vulnerability in PerlMagick that fails… CWE-401
- CVE-2026-116158 ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare… CWE-401
- CVE-2026-116159 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the… CWE-401
- CVE-2026-116151 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the JNG… CWE-401
- CVE-2026-116155 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the… CWE-401
- CVE-2026-116152 ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the MAT decoder that… CWE-401
- CVE-2026-116154 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in its XML… CWE-401