Loading...
Skip to main content

CVE-2026-56361

LOW

ImageMagick has has an off-by-one origin validation in allows out-of-bounds read in morphology processing

Published April 14, 2026Updated July 8, 2026Source: osv

Summary

An incorrect morphology would allow an out of bounds read of a single pixel. ``` ==1200284==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x5100000002d0 at pc 0x59e28e60c27a bp 0x7fff047fd8e0 sp 0x7fff047fd8d0 READ of size 4 at 0x5100000002d0 thread T0 ```

Remediation

Upgrade to the fixed version using your package manager.

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

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

Affected Packages (18)

PackageEcosystemAffectedFixed In
Magick.NET-Q16-HDRI-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more)14.12.0
Magick.NET-Q8-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more)14.12.0
Magick.NET-Q16-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q8-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more)14.12.0
Magick.NET-Q8-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q8-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q16-HDRI-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.12.0
Magick.NET-Q16-HDRI-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q16-HDRI-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.12.0
Magick.NET-Q16-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q16-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more)14.12.0
Magick.NET-Q8-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more)14.12.0
Magick.NET-Q16-HDRI-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more)14.12.0
Magick.NET-Q8-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more)14.12.0
Magick.NET-Q16-HDRI-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.12.0

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-56361?
ImageMagick has has an off-by-one origin validation in allows out-of-bounds read in morphology processing 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-56361?
CVE-2026-56361 affects Magick.NET-Q16-HDRI-OpenMP-x64, Magick.NET-Q8-arm64 and Magick.NET-Q16-OpenMP-x64 (and 15 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-56361 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-q8h3-jv9v-57qx

Related CVEs

  • CVE-2026-25985
    HIGH

    ImageMagick: Memory allocation with excessive without limits in the internal SVG decoder

  • CVE-2026-25988
    MEDIUM

    ImageMagick: MSL image stack index may fail to refresh, leading to leaked images

  • CVE-2026-25983
    MEDIUM

    ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"

  • CVE-2025-68618
    MEDIUM

    ImageMagick's failure to limit the depth of SVG file reads caused a DoS attack

  • CVE-2026-25795
    MEDIUM

    ImageMagick has NULL pointer dereference in ReadSFWImage after DestroyImageInfo (sfw.c)

  • CVE-2026-26066
    MEDIUM

    ImageMagick has infinite loop when writing IPTCTEXT leads to denial of service via crafted profile

  • CVE-2026-25984
    LOW

    ImageMagick: Integer Overflow in PSB (PSD v2) RLE decoding path causes heap Out of Bounds reads for 32-bit builds

  • CVE-2026-56376
    LOW

    ImageMagick has a possible heap Use After Free vulnerability in its meta coder

Check if you're affected

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

Scan Your Dependencies