All vulnerabilities
GHSA-hvwf-wmm6-hvc3

ImageMagick: Memory Leak in PNG encoder when libpng initialization fails

ImageMagickLibraries & packages
CVSS
3.7Low
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in7.1.2-32Also 6.9.13-57GitHub
Published27 Sep 2026Updated 27 Sep 2026GitHub

What fixes it

  • 7.1.2-32ImageMagick, c/c++GitHub
  • 6.9.13-57ImageMagick, c/c++GitHub

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

When the libpng initialization fails a memory leak will occur in the PNG encoder.

Text from GitHub Advisory Database

Affected versions 2

  • ImageMagick, c/c++< 7.1.2-32GitHub
  • ImageMagick, c/c++< 6.9.13-57GitHub