Null pointer dereference in ImageMagick -subimage option
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-7f2w-c8wf-xvf8. Fix status from GitHub. Impact type from CWE-617.
Summary
ImageMagick before 7.1.2-35 has a null pointer dereference that occurs when the -subimage option is used and the image list contains only one image. The flaw is a reachable assertion (CWE-617) that crashes the program. A local user with low privileges can trigger it if the user interacts with the process, which can cause a denial of service with low impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
When the -subimage option is used and the list only contains a single image a null pointer dereference will occur.
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-7f2w-c8wf-xvf8 |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-35 Fixed in 7.1.2-35 Patch available GHSA-7f2w-c8wf-xvf8
Remediation
Upgrade ImageMagick to version 7.1.2-35 or later, which fixes this issue. No advisory identifiers are listed in the sources.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-7f2w-c8wf-xvf8 ImageMagick (c/c++) Fixed in 7.1.2-35 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-7f2w-c8wf-xvf8
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences