Skip to main content

CVE-2026-46522 — ImageMagick: Infinite Loop in Magick.NET-Q16-AnyCPU

HIGH

ImageMagick: Infinite Loop in the MIFF decoder can lead to CPU exhaustion

Published May 18, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

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

Does your project use an affected Magick.NET-Q16-AnyCPU version?

Paste your packages.lock.json to check it for CVE-2026-46522 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

Due to a missing check in the MIFF decoder a crafted file could cause an infinite loop resulting in CPU exhaustion.

Advisory Timeline

  • First published May 18, 2026 (192 days ago).
  • Last revised September 10, 2026 — 114 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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-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-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-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-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-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-Q16-HDRI-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+208 more)14.13.1
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-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-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) 7.5 score means for each attack dimension.

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

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

Frequently Asked Questions

What is CVE-2026-46522?
ImageMagick: Infinite Loop in the MIFF decoder can lead to CPU exhaustion. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-46522?
CVE-2026-46522 affects Magick.NET-Q16-AnyCPU, Magick.NET-Q8-AnyCPU and Magick.NET-Q16-HDRI-AnyCPU (and 15 more). It has a 1.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-46522 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.93%
EPSS percentile: 80.6

This places it in the top quartile of EPSS-scored vulnerabilities — 80.6% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-7gg8-qqx7-92g5

Related CVEs

  • CVE-2026-28494
    HIGH

    ImageMagick vulnerable to stack corruption through long morphology kernel names or arrays

  • CVE-2025-53015
    HIGH

    ImageMagick has XMP profile write that triggers hang due to unbounded loop

  • CVE-2026-46693
    MEDIUM

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

  • CVE-2026-48994
    MEDIUM

    ImageMagick has a Heap Buffer Over-Write in MAT decoder on 32-bit systems

  • CVE-2026-48734
    MEDIUM

    ImageMagick Vulnerable to Stack Overflow in its MVG Decoder

  • CVE-2026-45359
    MEDIUM

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

  • CVE-2026-61871
    LOW

    ImageMagick: Memory Leak in ICON decoder when allocation fails

  • CVE-2026-56370
    LOW

    ImageMagick has out-of-bounds access in ConnectedComponentsImage() via CLI-controlled connected-components:* artifacts

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json