---
id: CVE-2026-25968
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 versions 7.1.2-15 and 6.9.13-40, a stack buffer
  overflow occurs when processing the an attribute in msl.c. A long value
  overflows a f…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-121
  - CWE-787
published: '2026-02-24'
updated: '2026-06-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-25968'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3mwp-xqp2-q6ph
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00283
epssPercentile: 0.21082
ingestedAt: '2026-06-29T13:24:34.643Z'
---

## Overview

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a stack buffer overflow occurs when processing the an attribute in msl.c. A long value overflows a fixed-size stack buffer, leading to memory corruption. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

## Remediation

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