Read the docs

Stack overflow in ImageMagick MVG decoder

Priority LOW 31CWE-674Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · GHSA-x258-xjqf-6j3f. Fix status from GitHub. Impact type from CWE-674.

Summary

ImageMagick versions before 7.1.2-33 and before 6.9.13-58 are affected. Certain paths of the MVG decoder use uncontrolled recursion (CWE-674), which can overflow the stack when a crafted file is read with specific arguments. A local user with low privileges who can get ImageMagick to process a file can crash the program, with a low availability impact and no confidentiality or integrity impact.

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

Description from the GitHub advisory

Certain paths of the MVG decoder could result in a stack overflow when reading the file with specific arguments.

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-33, 6.9.13-58

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-337.1.2-33Patch availableGHSA-x258-xjqf-6j3f
—ImageMagick (c/c++)< 6.9.13-586.9.13-58Patch availableGHSA-x258-xjqf-6j3f
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-33 Fixed in 7.1.2-33 Patch available GHSA-x258-xjqf-6j3f
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-58 Fixed in 6.9.13-58 Patch available GHSA-x258-xjqf-6j3f

Remediation

ImageMagick 7 users should upgrade to 7.1.2-33 and ImageMagick 6 users should upgrade to 6.9.13-58.

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

  • Fix · GHSA-x258-xjqf-6j3f ImageMagick (c/c++) Fixed in 7.1.2-33 Advisory →
  • Fix · GHSA-x258-xjqf-6j3f ImageMagick (c/c++) Fixed in 6.9.13-58 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-x258-xjqf-6j3f

References

Sources

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