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, an incorrect check in the JP2 will result in an heap buffer over-write of a single byte when specifying certain options. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.
Published: 2026-06-10
Score: 4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick's JP2 encoder contains an incorrect boundary check that can cause a heap buffer over-write of one byte when specific options are supplied, potentially corrupting memory and leading to inconsistent image data or application instability. The flaw aligns with CWE-193 and CWE-787 vulnerabilities and has a CVSS score of 4.0, indicating a low severity impact on confidentiality, integrity, and availability. While the single-byte overwrite is unlikely to directly result in exploitable code execution, it can still compromise the stability of ImageMagick‑based services or downstream applications.

Affected Systems

This issue affects versions of ImageMagick before 6.9.13‑48 and 7.1.2‑23, across all platforms that compile with the JP2 encoder. Users should verify the installed ImageMagick version and ensure it is not one of the vulnerable builds.

Risk and Exploitability

Based on the description, the likely attack vector involves an attacker supplying a crafted JP2 image or using specific encoder options. The vulnerability has an EPSS score that is not available, and it is not listed in CISA's KEV catalog, reflecting limited known exploitation. Attackers would need to supply a crafted JP2 image or trigger the encoder with particular options; local or remote exploitation is plausible if an application processes untrusted images through ImageMagick. With a low CVSS score, the risk is moderate but remediation is advisable to avoid potential stability issues and mitigate future exploitation vectors.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to at least version 6.9.13‑48 or 7.1.2‑23, where the JP2 encoder boundary check has been fixed.
  • If an upgrade cannot be performed immediately, disable the JP2 encoder or remove JP2 support from the application’s configuration to prevent the vulnerable code path from executing.
  • Apply strict input validation to all JP2 images, ensuring that only trusted data is processed, and configure the application to reject malformed or unsupported JP2 options.

Generated by OpenCVE AI on June 10, 2026 at 23:51 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-533m-3wf6-c33v ImageMagick: Heap Buffer Over-Write of a single byte in the JP2 encoder.
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, an incorrect check in the JP2 will result in an heap buffer over-write of a single byte when specifying certain options. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.
Title ImageMagick: Heap Buffer Over-Write of a single byte in the JP2 encoder
Weaknesses CWE-193
CWE-787
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-10T21:45:44.437Z

Reserved: 2026-05-14T20:42:31.369Z

Link: CVE-2026-46559

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-46559

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-11T00:00:14Z

Weaknesses