Out-of-bounds Read Affecting magick.net-q8-anycpu package, versions [,4.10.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MAGICKNETQ8ANYCPU-14379262
  • published12 Dec 2025
  • disclosed10 Dec 2025
  • creditSumit Shah

Introduced: 10 Dec 2025

CVE-2025-66628  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Magick.NET-Q8-AnyCPU to version 4.10.0 or higher.

Overview

Magick.NET-Q8-AnyCPU is a Magick.NET allows you can use ImageMagick without having to install ImageMagick on your server or desktop.

More information about specific builds see the [official docs] (https://github.com/dlemstra/Magick.NET/tree/main/docs)

Affected versions of this package are vulnerable to Out-of-bounds Read in the ReadTIMImage() function. An attacker can access sensitive memory contents by supplying a specially crafted TIM image file with large width and height values, causing an integer overflow and subsequent out-of-bounds read on 32-bit systems.

References

CVSS Base Scores

version 4.0
version 3.1