---
id: CVE-2026-25969
title: >-
  ImageMagick is free and open-source software used for editing and manipulating
  digital images
summary: >-
  ImageMagick is free and open-source software used for editing and manipulating
  digital images. Prior to version 7.1.2-15, a memory leak exists in
  `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure.  However,
  when an exceptio…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-401
published: '2026-02-24'
updated: '2026-06-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-25969'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xgm3-v4r9-wfgm
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00374
epssPercentile: 0.31285
ingestedAt: '2026-06-29T13:24:34.644Z'
---

## Overview

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-15, a memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure.  However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak. Version 7.1.2-15 contains a patch.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
