Policy check missing in ImageMagick UHDR encoder buffer allocation
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ImageMagick (c/c++) | < 7.1.2-31 | 7.1.2-31 | Patch available | GHSA-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
- 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