Read the docs

Division by zero in ImageMagick FLIF encoder crashes on bad input

Priority LOW 33CWE-369Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-4gg2-hfgh-6f5c. Fix status from GitHub. Impact type from CWE-369.

Summary

ImageMagick versions before 7.1.2-31 and before 6.9.13-56 are affected. An incorrect value for ticks per second causes a division by zero (CWE-369) in the FLIF encoder, which crashes the program. A remote attacker without privileges or user interaction can trigger the crash, with low impact on availability.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

An incorrect value for ticks per second will result in a crash in the FLIF encoder

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-31, 6.9.13-56

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick (c/c++)< 7.1.2-317.1.2-31Patch availableGHSA-4gg2-hfgh-6f5c
—ImageMagick (c/c++)< 6.9.13-566.9.13-56Patch availableGHSA-4gg2-hfgh-6f5c
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-31 Fixed in 7.1.2-31 Patch available GHSA-4gg2-hfgh-6f5c
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-56 Fixed in 6.9.13-56 Patch available GHSA-4gg2-hfgh-6f5c

Remediation

Upgrade ImageMagick 7.x to version 7.1.2-31 and ImageMagick 6.x to version 6.9.13-56.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-4gg2-hfgh-6f5c ImageMagick (c/c++) Fixed in 7.1.2-31 Advisory →
  • Fix · GHSA-4gg2-hfgh-6f5c ImageMagick (c/c++) Fixed in 6.9.13-56 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-4gg2-hfgh-6f5c

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences