CVE-2026-109261

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in GIF Encoder

Published Oct 12, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.

Analysis

AI-generated

Technical impact

ImageMagick versions before 6.9.13-57 and before 7.1.2-32 contain a memory leak in the GIF encoder caused by failing to release allocated memory when color quantization errors occur during image conversion. Each failed quantization attempt consumes additional memory, which over time can exhaust system resources and degrade availability for legitimate users. The weakness is identified as improper release of resources (CWE-401).

Affected Systems

The vulnerability affects all installations of ImageMagick that run a build older than 6.9.13-57 or 7.1.2-32, regardless of operating system, including Linux, Windows, macOS, and embedded platforms that rely on ImageMagick for image processing tasks.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity. An attacker who can access the GIF encoder interface can supply crafted images that trigger quantization failure, causing the memory leak and progressively draining resources. No EPSS data is available, and the vulnerability is not listed in CISA KEV, suggesting that large‑scale exploitation has not yet been observed, but the availability impact makes the threat material if the service is exposed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13-57 or later, or to 7.1.2-32 or later, to eliminate the memory leak.
  • If a patch is not immediately deployable, restrict or disable external access to any services or applications that invoke the GIF encoder until the issue is resolved.
  • After applying the fix, monitor system memory usage and configure alerts for abnormal memory growth to detect any possible recurrence.

Generated by OpenCVE AI on October 13, 2026 at 01:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4858-1 imagemagick security update
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-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.
Title ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in GIF Encoder
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.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/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 18, 2026, 11:53 AM
Reserved
Oct 12, 2026, 2:10 PM
Status
Analyzed
Published
Oct 12, 2026, 5:17 PM
Modified
Nov 3, 2026, 4:14 PM
Severity
Low
Public date
Oct 12, 2026, 4:04 PM