Read the docs

Policy check missing in ImageMagick UHDR encoder buffer allocation

Priority LOW 33CWE-400Published · 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-7hjx-392p-f8cm. Fix status from GitHub. Impact type from CWE-400.

Summary

ImageMagick versions before 7.1.2-31 are affected. The UHDR encoder skips a policy check when it allocates a buffer that holds all pixels of an image, so allocations are not limited as the policy requires (CWE-770). A remote, unauthenticated attacker can trigger this with high attack complexity, which can lower availability.

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

Description from the GitHub advisory

The UHDR encoder does not perform a policy check when allocating a buffer that contains all the pixels of an image.

Why it matters now

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

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-7hjx-392p-f8cm
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-31 Fixed in 7.1.2-31 Patch available GHSA-7hjx-392p-f8cm

Remediation

Update ImageMagick to version 7.1.2-31 or later, which fixes this flaw.

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

  • Fix · GHSA-7hjx-392p-f8cm ImageMagick (c/c++) Fixed in 7.1.2-31 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-7hjx-392p-f8cm

References

Sources

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