CVE-2026-22770: Magick.NET Q8 x64 ImageMagick Releases An Invalid Pointer Vulnerability

MODERATE
Advisory Identifier: GHSA-39h3-g67r-7g3c
CVSS 6.5
CWE-763
Published
Advisory Summary

CVE-2026-22770 is a MODERATE (CVSS 6.5) imagemagick releases an invalid pointer vulnerability (CWE-763: Release of Invalid Pointer or Reference) affecting Magick.NET Q8 x64 libraries in the NuGet ecosystem. The issue involves imagemagick releases an invalid pointer in bilateralblur when memory allocation fails. Remediation is available by upgrading affected packages to version 14.10.2.

CVE-2026-22770 at a Glance

CVE Identifier CVE-2026-22770
GHSA Identifier GHSA-39h3-g67r-7g3c
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-763: Release of Invalid Pointer or Reference
Affected Product Magick.NET Q8 x64
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability High (A:H)

How to Fix CVE-2026-22770

To remediate this vulnerability, upgrade all affected Magick.NET Q8 x64 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Magick.NET-Q8-x64 fixed: 14.10.2
Upgrade Magick.NET-Q8-x64 to 14.10.2
Magick.NET-Q8-arm64 fixed: 14.10.2
Upgrade Magick.NET-Q8-arm64 to 14.10.2
Magick.NET-Q8-x86 fixed: 14.10.2
Upgrade Magick.NET-Q8-x86 to 14.10.2
Magick.NET-Q8-OpenMP-x64 fixed: 14.10.2
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.10.2
Magick.NET-Q8-OpenMP-arm64 fixed: 14.10.2
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.10.2
Magick.NET-Q16-x64 fixed: 14.10.2
Upgrade Magick.NET-Q16-x64 to 14.10.2
Magick.NET-Q16-arm64 fixed: 14.10.2
Upgrade Magick.NET-Q16-arm64 to 14.10.2
Magick.NET-Q16-x86 fixed: 14.10.2
Upgrade Magick.NET-Q16-x86 to 14.10.2
Magick.NET-Q16-OpenMP-x64 fixed: 14.10.2
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.10.2
Magick.NET-Q16-OpenMP-arm64 fixed: 14.10.2
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.10.2
Magick.NET-Q16-OpenMP-x86 fixed: 14.10.2
Upgrade Magick.NET-Q16-OpenMP-x86 to 14.10.2
Magick.NET-Q16-HDRI-x64 fixed: 14.10.2
Upgrade Magick.NET-Q16-HDRI-x64 to 14.10.2
Magick.NET-Q16-HDRI-arm64 fixed: 14.10.2
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.10.2
Magick.NET-Q16-HDRI-x86 fixed: 14.10.2
Upgrade Magick.NET-Q16-HDRI-x86 to 14.10.2
Magick.NET-Q16-HDRI-OpenMP-x64 fixed: 14.10.2
Upgrade Magick.NET-Q16-HDRI-OpenMP-x64 to 14.10.2
Magick.NET-Q16-HDRI-OpenMP-arm64 fixed: 14.10.2
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.10.2
Magick.NET-Q8-AnyCPU fixed: 14.10.2
Upgrade Magick.NET-Q8-AnyCPU to 14.10.2
Magick.NET-Q16-AnyCPU fixed: 14.10.2
Upgrade Magick.NET-Q16-AnyCPU to 14.10.2
Magick.NET-Q16-HDRI-AnyCPU fixed: 14.10.2
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.10.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Magick.NET-Q8-x64

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-22770, inspect your project dependencies for Magick.NET Q8 x64:

inspect dependencies for Magick.NET-Q8-x64

Analyze the terminal output to locate any version of Magick.NET Q8 x64 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.10.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-763: Release of Invalid Pointer or Reference, where the product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly. In Magick.NET Q8 x64, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But the last element in the set is not properly initialized. This will result in a release of an invalid pointer inside DestroyBilateralTLS when the memory allocation fails.

CVE-2026-22770 Affected Magick.NET Q8 x64 Versions

19 component(s)
Fixed Versions:
14.10.2
Product / Package Ecosystem Affected Versions Fixed Version
Magick.NET-Q8-x64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q8-arm64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q8-x86
NuGet
< 14.10.2
14.10.2
Magick.NET-Q8-OpenMP-x64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q8-OpenMP-arm64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-x64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-arm64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-x86
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-OpenMP-x64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-OpenMP-arm64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-OpenMP-x86
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-HDRI-x64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-HDRI-arm64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-HDRI-x86
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-HDRI-OpenMP-x64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-HDRI-OpenMP-arm64
NuGet
< 14.10.2
14.10.2
Magick.NET-Q8-AnyCPU
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-AnyCPU
NuGet
< 14.10.2
14.10.2
Magick.NET-Q16-HDRI-AnyCPU
NuGet
< 14.10.2
14.10.2

References

Frequently Asked Questions

What is CVE-2026-22770?
CVE-2026-22770 is a security vulnerability in Magick.NET Q8 x64 involving ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails under CWE-763: Release of Invalid Pointer or Reference.
Which Magick.NET Q8 x64 versions are affected?
Affected versions include releases prior to 14.10.2 across affected packages: Magick.NET-Q8-x64, Magick.NET-Q8-arm64, Magick.NET-Q8-x86, Magick.NET-Q8-OpenMP-x64, Magick.NET-Q8-OpenMP-arm64, Magick.NET-Q16-x64, Magick.NET-Q16-arm64, Magick.NET-Q16-x86, Magick.NET-Q16-OpenMP-x64, Magick.NET-Q16-OpenMP-arm64, Magick.NET-Q16-OpenMP-x86, Magick.NET-Q16-HDRI-x64, Magick.NET-Q16-HDRI-arm64, Magick.NET-Q16-HDRI-x86, Magick.NET-Q16-HDRI-OpenMP-x64, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q8-AnyCPU, Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU.
What version fixes CVE-2026-22770?
Upgrading to 14.10.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Magick.NET-Q8-x64 affected?
Yes, Magick.NET-Q8-x64 is affected in releases prior to 14.10.2. Upgrade your dependency to 14.10.2 or later.
Is Magick.NET-Q8-arm64 affected?
Yes, Magick.NET-Q8-arm64 is affected in releases prior to 14.10.2. Upgrade your dependency to 14.10.2 or later.
What is the CVSS score of CVE-2026-22770?
CVE-2026-22770 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H.
What CWE is associated with CVE-2026-22770?
CVE-2026-22770 is classified under CWE-763: Release of Invalid Pointer or Reference (The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.).
How can I check NuGet dependencies for CVE-2026-22770?
Run the dependency tree command: 'inspect dependencies for Magick.NET-Q8-x64'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-39h3-g67r-7g3c",
  "modified" : "2026-01-20T17:25:31Z",
  "published" : "2026-01-20T17:25:31Z",
  "aliases" : [ "CVE-2026-22770" ],
  "summary" : "ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails",
  "details" : "The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But the last element in the set is not properly initialized. This will result in a release of an invalid pointer inside DestroyBilateralTLS when the memory allocation fails.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22770"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ImageMagick/ImageMagick"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-763" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-20T17:25:31Z",
    "nvd_published_at" : "2026-01-20T01:15:57Z"
  }
}