---
id: CVE-2026-93589
title: >-
  ImageMagick before 7.1.2-31 and 6.9.13-56 contains a division-by-zero flaw in
  the FLIF encoder
summary: >-
  ImageMagick before 7.1.2-31 and 6.9.13-56 contains a division-by-zero flaw in
  the FLIF encoder. An incorrect value for ticks per second in the image being
  encoded causes a divide-by-zero and crashes the encoder, resulting in a denial
  of …
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-369
vendor: imagemagick
product: imagemagick
affected:
  - imagemagick < 6.9.13-56
  - 'imagemagick >= 7.0.0-0, < 7.1.2-31'
patched:
  - imagemagick 7.1.2-31
published: '2026-09-18'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:35:14.063'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93589'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-4gg2-hfgh-6f5c
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-division-by-zero-in-flif-encoder
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93589.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-93589'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2538880'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-93589'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93589'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00335
epssPercentile: 0.26751
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-18T14:37:23.768564Z'
scores:
  nvd: 3.7
  vendor: 5.9
ingestedAt: '2026-09-18T13:41:41.666Z'
---

## Overview

ImageMagick before 7.1.2-31 and 6.9.13-56 contains a division-by-zero flaw in the FLIF encoder. An incorrect value for ticks per second in the image being encoded causes a divide-by-zero and crashes the encoder, resulting in a denial of service. The issue is fixed in 7.1.2-31 and 6.9.13-56.

## Affected

- `imagemagick < 6.9.13-56`
- `imagemagick >= 7.0.0-0, < 7.1.2-31`

## Remediation

Upgrade past the affected range:

- `imagemagick 7.1.2-31`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93589.json)
