Skip to main content

CVE-2026-45359 — ImageMagick: Out-of-Bounds Read in...

MEDIUM

ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define

Published May 18, 2026Updated June 11, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.16%). Schedule for your next planned update.

Does your project use an affected Magick.NET-Q8-arm64 version?

Paste your packages.lock.json to check it for CVE-2026-45359 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

An invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected components operation.

Advisory Timeline

  • First published May 18, 2026 (192 days ago).
  • Last revised June 11, 2026 — 24 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (18)

Affects 1 ecosystem: NuGet (18).

PackageFixed In
Magick.NET-Q8-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+56 more)14.13.1
Magick.NET-Q16-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+227 more)14.13.1
Magick.NET-Q16-HDRI-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+56 more)14.13.1
Magick.NET-Q8-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+227 more)14.13.1
Magick.NET-Q16-HDRI-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+208 more)14.13.1
Magick.NET-Q16-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+227 more)14.13.1
Magick.NET-Q8-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+227 more)14.13.1
Magick.NET-Q16-HDRI-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+108 more)14.13.1
Magick.NET-Q8-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+108 more)14.13.1
Magick.NET-Q16-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+211 more)14.13.1
Magick.NET-Q8-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+211 more)14.13.1
Magick.NET-Q8-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+56 more)14.13.1
Magick.NET-Q16-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+56 more)14.13.1
Magick.NET-Q16-HDRI-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+208 more)14.13.1
Magick.NET-Q16-HDRI-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+208 more)14.13.1
Magick.NET-Q16-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+56 more)14.13.1
Magick.NET-Q16-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+108 more)14.13.1
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+56 more)14.13.1

Vulnerability Classification

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

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

What is CVE-2026-45359?
ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.7/10).
How do I check if my project is affected by CVE-2026-45359?
CVE-2026-45359 affects Magick.NET-Q8-arm64, Magick.NET-Q16-x64 and Magick.NET-Q16-HDRI-arm64 (and 15 more). It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45359 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.7

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.16%
EPSS percentile: 3.1

This is a below-median EPSS score — only 3.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-vhrh-72hq-w8m7

Related CVEs

  • CVE-2026-24485
    HIGH

    ImageMagick: Infinite loop vulnerability when parsing a PCD file

  • CVE-2026-28689
    MEDIUM

    ImageMagick has a Path Policy TOCTOU symlink race bypass

  • CVE-2026-46693
    MEDIUM

    ImageMagick: Race Condition in distributed pixel cache server can result in file descriptor hijacking

  • CVE-2026-26983
    MEDIUM

    ImageMagick: Invalid MSL <map> can result in a use after free

  • CVE-2026-56368
    MEDIUM

    ImageMagick: Memory Leak in multiple coders that write raw pixel data

  • CVE-2026-56372
    LOW

    ImageMagick has a heap buffer overflow read in magnify operation via unrecognized magnify:method value

  • CVE-2026-61871
    LOW

    ImageMagick: Memory Leak in ICON decoder when allocation fails

  • CVE-2026-61872
    LOW

    ImageMagick: Memory Leak in TIFF encoder when invalid tiff:tile-geometry is specified

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json