Heap use-after-free in PerlMagick Layer method can crash ImageMagick
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-chf5-8rv9-gjqr. Fix status from GitHub.
Summary
ImageMagick (PerlMagick) versions before 7.1.2-30 and before 6.9.13-55 are affected. A crafted list of images causes a heap use-after-free in the Layer method, which is CWE-416. A local attacker with no privileges can crash the process if a user opens such a list, with low availability impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
A crafted list of images will result in a heap-use-after-free in the Layer method of PerlMagick.
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 (PerlMagick) (c/c++) | < 7.1.2-30 | 7.1.2-30 | Patch available | GHSA-chf5-8rv9-gjqr |
| — | ImageMagick (PerlMagick) (c/c++) | < 6.9.13-55 | 6.9.13-55 | Patch available | GHSA-chf5-8rv9-gjqr |
- ImageMagick (PerlMagick) (c/c++) Vendor— Affected < 7.1.2-30 Fixed in 7.1.2-30 Patch available GHSA-chf5-8rv9-gjqr
- ImageMagick (PerlMagick) (c/c++) Vendor— Affected < 6.9.13-55 Fixed in 6.9.13-55 Patch available GHSA-chf5-8rv9-gjqr
Remediation
Fixed versions for ImageMagick (PerlMagick) are 7.1.2-30 and 6.9.13-55.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-chf5-8rv9-gjqr ImageMagick (PerlMagick) (c/c++) Fixed in 7.1.2-30 Advisory →
- Fix · GHSA-chf5-8rv9-gjqr ImageMagick (PerlMagick) (c/c++) Fixed in 6.9.13-55 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-chf5-8rv9-gjqr
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences