Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, A heap-buffer-overflow vulnerability exists in the PCL encode due to an undersized output buffer allocation. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.
Published: 2026-03-09
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap buffer overflow leading to potential memory corruption
Action: Patch
AI Analysis

Impact

ImageMagick, a free and open‑source image processing library, contains a heap‑buffer‑overflow vulnerability in its PCL encoder. The flaw arises from an undersized output buffer allocation, which allows an attacker to corrupt memory and potentially execute arbitrary code. This weakness corresponds to CWE‑122 and CWE‑131.

Affected Systems

The vulnerability affects all ImageMagick releases prior to 7.1.2‑16 and 6.9.13‑41. These older versions are susceptible when any image is processed using the PCL encoder component. Only the releases mentioned above incorporate the required fix.

Risk and Exploitability

The CVSS base score is 6.8, indicating moderate severity, while the EPSS score is below 1%, suggesting a low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. An attacker could trigger the overflow by supplying a malicious image to an application that embeds ImageMagick, and, based on the description, the most likely attack vector is image‑based exploitation that could result in remote code execution. Current patching mitigates all known risks.

Generated by OpenCVE AI on April 16, 2026 at 10:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑16 or newer, or to 6.9.13‑41 or newer, to apply the vendor fix.
  • If an upgrade is not immediately possible, restrict the processing of untrusted image files to isolated environments or containers and validate input sizes to prevent buffer overflow.
  • Monitor application logs for abnormal memory usage or crashes that may indicate exploitation attempts and apply additional defensive code isolation as a temporary measure.

Generated by OpenCVE AI on April 16, 2026 at 10:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4539-1 imagemagick security update
Debian DSA Debian DSA DSA-6169-1 imagemagick security update
Debian DSA Debian DSA DSA-6210-1 imagemagick security update
Github GHSA Github GHSA GHSA-467j-76j7-5885 ImageMagick: Write heap-buffer-overflow in PCL encoder via undersized output buffer
History

Thu, 12 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Wed, 11 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 10 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 10 Mar 2026 14:15:00 +0000

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

Mon, 09 Mar 2026 22:00: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 7.1.2-16 and 6.9.13-41, A heap-buffer-overflow vulnerability exists in the PCL encode due to an undersized output buffer allocation. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.
Title ImageMagick has a write heap-buffer-overflow in PCL encoder via undersized output buffer
Weaknesses CWE-122
CWE-131
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-10T14:26:34.814Z

Reserved: 2026-03-02T21:43:19.927Z

Link: CVE-2026-28686

cve-icon Vulnrichment

Updated: 2026-03-10T14:24:46.600Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-10T07:43:43.500

Modified: 2026-03-12T15:17:14.927

Link: CVE-2026-28686

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-09T21:33:15Z

Links: CVE-2026-28686 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T10:15:26Z

Weaknesses