CVE-2026-116152
Medium · 5.3CVSS
5.3
EPSS
0.3%
Published
Oct 25, 2026
CISA due date
—
Cloudanix analysis
A bug in image handling software can let attackers slowly drain memory by sending special files, eventually causing the software to stop working.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
The vulnerability is a memory leak in the MAT image decoder where allocated memory is not freed on certain error conditions, allowing repeated processing of malicious files to exhaust available memory.
Why it matters to the business
Applications using ImageMagick to process images may experience gradual memory exhaustion, leading to service degradation or crashes when handling untrusted MAT files.
How an attack unfolds
An attacker crafts a malicious MAT file that triggers an error path in the decoder without freeing memory. By sending multiple such files to a service using ImageMagick, the attacker causes memory to leak over time until the process runs out of memory and crashes.
How to fix it
Upgrade ImageMagick to version 7.1.2-33 or later.
How to confirm the fix worked
Confirm the installed ImageMagick version is 7.1.2-33 or higher and verify that processing of test MAT files triggering the error path no longer results in unreleased memory allocations.
Typical attack path
- Identify a target application or service that uses vulnerable ImageMagick to decode images
- Craft a MAT file designed to trigger the specific error path in the MAT decoder
- Repeatedly submit the crafted MAT file through available input channels such as uploads or network requests
- Observe progressive memory consumption leading to denial of service
How to detect it
Review application and image processing logs for repeated MAT file handling; monitor process memory metrics for unexplained gradual increases correlated with image decode activity.
What your security team should do
- Update ImageMagick to 7.1.2-33 or later in all environments as soon as possible given the recent publication
- Disable or restrict MAT file processing until patches are applied if the functionality is non-essential
- Implement memory usage monitoring and alerts for ImageMagick processes
The record
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the MAT decoder that fails to release allocated memory in a specific error path. Attackers can supply crafted MAT files that trigger this error path repeatedly, causing small memory leaks that gradually consume process memory.
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-116156 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a… 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-116154 ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in its XML… CWE-401