Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-26, an incorrect handling of arguments can cause a heap buffer over-write in the JP2 encoder. This issue has been fixed in version7.1.2-26.
Published: 2026-07-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The JP2 encoder in ImageMagick versions prior to 7.1.2‑26 incorrectly processes arguments, causing a heap buffer over‑write that corrupts memory adjacent to the buffer. This memory corruption may lead to application crashes or other disruptive behaviours when a specially crafted JPEG‑2000 image is processed. The flaw is a classic buffer‑overflow (CWE‑787) and an argument handling error leading to unsafe memory usage (CWE‑682).

Affected Systems

Any installation of ImageMagick 7.x below 7.1.2‑26 that processes JPEG‑2000 input is affected. This includes web servers, image conversion services, or any system component that calls the JP2 encoder directly or indirectly.

Risk and Exploitability

The CVSS score of 5.5 denotes medium severity, and the EPSS score of <1% indicates a low probability of exploitation in the wild. The vulnerability is not listed in CISA's KEV catalog. An attacker would need to supply a maliciously crafted JPEG‑2000 image to an ImageMagick process, which could be local or remote if the application accepts untrusted images. Successful exploitation would result in unpredictable behaviour such as crashes or potential denial‑of‑service.

Generated by OpenCVE AI on August 3, 2026 at 05:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2‑26 or newer to apply the JP2 encoder fix.
  • If JPEG‑2000 handling is not required, disable JP2 support or remove related modules from the installation.
  • Run ImageMagick under the least privilege necessary and validate or sanitize incoming image files before they reach the encoder.

Generated by OpenCVE AI on August 3, 2026 at 05:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4680-1 imagemagick security update
Debian DSA Debian DSA DSA-6383-1 imagemagick security update
Github GHSA Github GHSA GHSA-c4v7-w88g-m6c4 ImageMagick: Heap Buffer Over-Write in JP2 encoder when due to incorrect handling of arguments
History

Thu, 02 Jul 2026 12:30:00 +0000


Thu, 02 Jul 2026 04:00:00 +0000

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

Wed, 01 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 01 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-26, an incorrect handling of arguments can cause a heap buffer over-write in the JP2 encoder. This issue has been fixed in version7.1.2-26.
Title ImageMagick: Heap Buffer Over-Write in JP2 encoder when due to incorrect handling of arguments
Weaknesses CWE-682
CWE-787
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-07-01T19:21:38.493Z

Reserved: 2026-06-16T23:18:03.170Z

Link: CVE-2026-55597

cve-icon Vulnrichment

Updated: 2026-07-01T19:21:29.675Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-01T19:16:55.363

Modified: 2026-07-02T19:30:14.533

Link: CVE-2026-55597

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-01T19:03:29Z

Links: CVE-2026-55597 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T06:00:12Z

Weaknesses