Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.
Published: 2026-06-10
Score: 5.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick, a widely used open‑source image manipulation library, has a heap buffer over‑write in the MIFF encoder when LZMA compression is used. The missing bounds check allows a crafted image to write beyond the allocated buffer, which can corrupt memory and may result in arbitrary code execution, data corruption, or a service crash. The vulnerability is categorized under CWE‑131, CWE‑787, and CWE‑835, reflecting improper buffer size calculation, heap buffer overflow, and unbounded array indexing, respectively. The CVSS score of 5.5 indicates a moderate severity that warrants attention but does not imply guaranteed remote execution.

Affected Systems

All installations of ImageMagick prior to versions 6.9.13‑48 and 7.1.2‑23 are affected. The vendor product is ImageMagick ImageMagick. The issue was fixed in the aforementioned releases, so any deployment using older versions should upgrade to at least these patch levels.

Risk and Exploitability

The CVSS rating of 5.5 reflects a moderate risk; the EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector involves delivering a malicious MIFF file containing LZMA compressed data to a vulnerable instance of ImageMagick, either locally or remotely depending on how the library is accessed. Successful exploitation would require the library to process the crafted file, triggering the out‑of‑bounds write and potentially allowing code execution or a denial of service.

Generated by OpenCVE AI on June 10, 2026 at 23:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13‑48 or later 7.1.2‑23
  • Disable LZMA compression or block MIFF image input in the application configuration if an upgrade cannot be performed immediately
  • Implement strict validation or sandboxing of image files before processing to mitigate the risk of malicious payloads

Generated by OpenCVE AI on June 10, 2026 at 23:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4609-1 imagemagick security update
Debian DSA Debian DSA DSA-6298-1 imagemagick security update
Debian DSA Debian DSA DSA-6310-1 imagemagick security update
Github GHSA Github GHSA GHSA-jcqp-6r6f-3mfx ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression
History

Wed, 10 Jun 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 10 Jun 2026 22:30:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.
Title ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression
Weaknesses CWE-131
CWE-252
CWE-787
CWE-835
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-10T21:40:44.045Z

Reserved: 2026-05-14T19:12:32.755Z

Link: CVE-2026-46521

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T23:16:46.833

Modified: 2026-06-10T23:16:46.833

Link: CVE-2026-46521

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T23:30:44Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-252

    Unchecked Return Value

  • CWE-787

    Out-of-bounds Write

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')