---
id: CVE-2026-105398
title: >-
  ImageMagick before 7.1.2-31 contains a heap buffer overflow vulnerability that
  allows attackers to overwrite heap memory by making a crafted call to the
  GetVirtualPixels API
summary: >-
  ImageMagick before 7.1.2-31 contains a heap buffer overflow vulnerability that
  allows attackers to overwrite heap memory by making a crafted call to the
  GetVirtualPixels API. Attackers can trigger the out-of-bounds heap write
  through cra…
severity: medium
cvss: 5.1
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-190
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick < 7.1.2-31
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T17:17:12.123'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105398'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jvjm-9f73-fhpq
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-heap-buffer-overflow-via-getvirtualpixels-api
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-08T17:08:40.938431Z'
ingestedAt: '2026-10-08T14:47:16.364Z'
---

## Overview

ImageMagick before 7.1.2-31 contains a heap buffer overflow vulnerability that allows attackers to overwrite heap memory by making a crafted call to the GetVirtualPixels API. Attackers can trigger the out-of-bounds heap write through crafted input to crash the server, causing a denial of service.

## Remediation

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