CVE-2026-106578

ImageMagick: Invalid Memory Free in MVG decoder

Published Oct 7, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31 and 6.9.13-56, a crafted image can cause an invalid memory free in the MVG decoder and crash the process. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.

Analysis

AI-generated

Technical impact

A crafted MVG image triggers an invalid memory free in ImageMagick's MVG decoder, causing the image‑processing process to crash. The flaw corresponds to CWE‑590 and CWE‑763, where memory is released after it has already been freed and a structure pointer is dereferenced after it has been freed, leading to instability and denial of service rather than direct data loss or compromise.

Affected Systems

ImageMagick ImageMagick releases prior to 7.1.2‑31 and 6.9.13‑56 are affected. The documented patches are included in version 7.1.2‑31 and 6.9.13‑56, respectively, and applied GitHub commits and release links confirm the remediation.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the attack is likely possible when an attacker supplies a malicious image to any component that uses the MVG decoder, which could be an external image upload endpoint or any untrusted image source. The exploit would result in a crash, causing a denial of service to the affected process or service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑31 or later, or to 6.9.13‑56 or later for the 6.x branch
  • After upgrading, configure the software to reject or safely handle MVG image files from untrusted sources, or disable MVG decoding if it is not required
  • As a temporary measure, apply the recommended patch commits referenced in the official advisory to any custom or forked ImageMagick installations that cannot be updated immediately

Generated by OpenCVE AI on October 8, 2026 at 13:58 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
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31 and 6.9.13-56, a crafted image can cause an invalid memory free in the MVG decoder and crash the process. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
Title ImageMagick: Invalid Memory Free in MVG decoder
Weaknesses CWE-590
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-590

    Free of Memory not on the Heap

  • CWE-763

    Release of Invalid Pointer or Reference

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 10, 2026, 2:34 AM
Reserved
Oct 6, 2026, 8:31 PM
Status
Analyzed
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 21, 2026, 3:59 PM
Severity
Moderate
Public date
Oct 7, 2026, 3:41 PM