Loading...
Skip to main content

CVE-2026-56366 — ImageMagick: META reader memory leak in...

LOW

ImageMagick: META reader memory leak in the APP1JPEG input path

Published March 26, 2026Updated July 11, 2026Source: osv

Summary

ImageMagick contains a memory leak in the META reader when processing the `APP1JPEG` input path.

Advisory Timeline

  • First published March 26, 2026 (199 days ago).
  • Last revised July 11, 2026 — 106 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Magick.NET-Q8-x86 to 14.11.1 or later
dotnet add package Magick.NET-Q8-x86 --version 14.11.1
NuGet
Update Magick.NET-Q16-HDRI-AnyCPU to 14.11.1 or later
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.11.1
NuGet
Update Magick.NET-Q8-arm64 to 14.11.1 or later
dotnet add package Magick.NET-Q8-arm64 --version 14.11.1
NuGet
Update Magick.NET-Q8-x64 to 14.11.1 or later
dotnet add package Magick.NET-Q8-x64 --version 14.11.1
NuGet
Update Magick.NET-Q16-x86 to 14.11.1 or later
dotnet add package Magick.NET-Q16-x86 --version 14.11.1
NuGet
Update Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.11.1
NuGet
Update Magick.NET-Q16-OpenMP-x64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.11.1
NuGet
Update Magick.NET-Q16-OpenMP-arm64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.11.1
NuGet
Update Magick.NET-Q16-AnyCPU to 14.11.1 or later
dotnet add package Magick.NET-Q16-AnyCPU --version 14.11.1
NuGet
Update Magick.NET-Q16-HDRI-x64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.11.1
NuGet
Update Magick.NET-Q16-x64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-x64 --version 14.11.1
NuGet
Update Magick.NET-Q16-HDRI-arm64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.11.1
NuGet
Update Magick.NET-Q16-HDRI-x86 to 14.11.1 or later
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.11.1
NuGet
Update Magick.NET-Q16-arm64 to 14.11.1 or later
dotnet add package Magick.NET-Q16-arm64 --version 14.11.1
NuGet
Update Magick.NET-Q16-OpenMP-x86 to 14.11.1 or later
dotnet add package Magick.NET-Q16-OpenMP-x86 --version 14.11.1
NuGet
Update Magick.NET-Q8-OpenMP-x64 to 14.11.1 or later
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.11.1
NuGet
Update Magick.NET-Q8-OpenMP-arm64 to 14.11.1 or later
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.11.1
NuGet
Update Magick.NET-Q8-AnyCPU to 14.11.1 or later
dotnet add package Magick.NET-Q8-AnyCPU --version 14.11.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (18)

Affects 1 ecosystem: nuget (18).

PackageEcosystemAffectedFixed In
Magick.NET-Q8-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+224 more)14.11.1
Magick.NET-Q16-HDRI-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more)14.11.1
Magick.NET-Q8-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+53 more)14.11.1
Magick.NET-Q8-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+224 more)14.11.1
Magick.NET-Q16-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+224 more)14.11.1
Magick.NET-Q16-HDRI-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+53 more)14.11.1
Magick.NET-Q16-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+105 more)14.11.1
Magick.NET-Q16-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+53 more)14.11.1
Magick.NET-Q16-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+208 more)14.11.1
Magick.NET-Q16-HDRI-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more)14.11.1
Magick.NET-Q16-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+224 more)14.11.1
Magick.NET-Q16-HDRI-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+53 more)14.11.1
Magick.NET-Q16-HDRI-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more)14.11.1
Magick.NET-Q16-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+53 more)14.11.1
Magick.NET-Q16-OpenMP-x86
nuget
All versions14.11.1
Magick.NET-Q8-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+105 more)14.11.1
Magick.NET-Q8-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+53 more)14.11.1
Magick.NET-Q8-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+208 more)14.11.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 3.3 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Frequently Asked Questions

What is CVE-2026-56366?
ImageMagick: META reader memory leak in the APP1JPEG input path This vulnerability has been assigned a severity rating of LOW (CVSS score: 3.3/10).
How do I check if my project is affected by CVE-2026-56366?
CVE-2026-56366 affects Magick.NET-Q8-x86, Magick.NET-Q16-HDRI-AnyCPU and Magick.NET-Q8-arm64 (and 15 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-56366 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
3.3

Exploitation is difficult or impact is minor. Address in your next planned update.

Also Known As

GHSA-9r56-3gjq-hqf7

Related CVEs

  • CVE-2026-25965
    HIGH

    ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy

  • CVE-2026-25987
    MEDIUM

    ImageMagick has a heap buffer over-read in its MAP image decoder

  • CVE-2026-53465
    MEDIUM

    ImageMagick has a Heap Buffer Over-Write in SF3 encoder when writing multi-frame image

  • CVE-2026-53467
    MEDIUM

    ImageMagick: Information Disclosure in MNG decoder because allocated memory is left unchanged

  • CVE-2026-26283
    MEDIUM

    ImageMagick has a possible infinite loop in its JPEG encoder when using `jpeg:extent`

  • CVE-2026-53463
    MEDIUM

    ImageMagick has Null Pointer Dereference caused by the distort operation when passing incorrect arguments

  • CVE-2026-56362
    LOW

    ImageMagick: Heap-based Buffer Overflow in GetPixelIndex due to metadata-cache desynchronization

  • CVE-2026-56363
    LOW

    ImageMagick: Division by Zero in binomial kernel

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies