ImageMagick coders allow excessive memory use via many image profiles
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-xvqp-rcj6-3h2q. Fix status from GitHub. Impact type from CWE-400.
Summary
ImageMagick's various coders read image profiles without a limit on their number. An image containing a large number of profiles can make the coder allocate a lot of memory (CWE-400, Uncontrolled Resource Consumption). The CVSS 3.1 base score is 5.3 (MEDIUM), with network attack vector, no privileges or user interaction required, and low availability impact. The issue is not listed in CISA KEV.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
Because there is no limit to the number of image profiles various coders could allocate a lot of memory when an image contains a high number of profiles. A new security option called `max-profile-count` has been added to the security policy that can be used to limit this.
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-35 | 7.1.2-35 | Patch available | GHSA-xvqp-rcj6-3h2q |
| — | ImageMagick (c/c++) | < 6.9.13-60 | 6.9.13-60 | Patch available | GHSA-xvqp-rcj6-3h2q |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-35 Fixed in 7.1.2-35 Patch available GHSA-xvqp-rcj6-3h2q
- ImageMagick (c/c++) Vendor— Affected < 6.9.13-60 Fixed in 6.9.13-60 Patch available GHSA-xvqp-rcj6-3h2q
Remediation
Upgrade ImageMagick 7.x to 7.1.2-35 or ImageMagick 6.x to 6.9.13-60. Until then, set the max-profile-count option in the security policy to limit the number of image profiles.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-xvqp-rcj6-3h2q ImageMagick (c/c++) Fixed in 7.1.2-35 Advisory →
- Fix · GHSA-xvqp-rcj6-3h2q ImageMagick (c/c++) Fixed in 6.9.13-60 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-xvqp-rcj6-3h2q
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences