CVE-2026-22770 is a medium-severity (CVSS 6.5) CWE-763 vulnerability in Magick.NET-Q8-x64. A fix is available for Magick.NET-Q8-x64 — see the affected versions and patch details below.
ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-22770.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
Magick.NET-Q8-x64.NETMagick.NET-Q8-arm64.NETMagick.NET-Q8-x86.NETMagick.NET-Q8-OpenMP-x64.NETMagick.NET-Q8-OpenMP-arm64.NETMagick.NET-Q16-x64.NETMagick.NET-Q16-arm64.NETMagick.NET-Q16-x86+11 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But, in versions prior to 7.1.2-13, 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. Version 7.1.2-13 contains a patch for the issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Magick.NET-Q8-x64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-x64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-arm64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-arm64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-x86 | all versions | 14.10.2dotnet add package Magick.NET-Q8-x86 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-OpenMP-x64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q8-OpenMP-arm64 | all versions | 14.10.2dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.10.2 |
| .NETNuGet | Magick.NET-Q16-x64 | all versions | 14.10.2dotnet add package Magick.NET-Q16-x64 --version 14.10.2 |
Affected Products
imagemagickimagemagickDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Magick.NET-Q8-x64, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Magick.NET-Q8-x64 to 14.10.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-22770 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated Moderate for Red Hat products as it affects ImageMagick, a widely used image processing library. A flaw in the `BilateralBlurImage` method can lead to a release of an invalid pointer when memory allocation fails, potentially resulting in a denial of service. This issue impacts Red Hat…
To mitigate this issue, avoid processing untrusted image files with ImageMagick. If ImageMagick is used in an automated or server-side context, consider implementing sandboxing mechanisms to limit the impact of potential exploitation. Restricting the sources of images processed by ImageMagick to trusted origins can also reduce exposure.Source: Red Hat security advisory for CVE-2026-22770 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-22770 in your dependencies?
Find it across NuGet, including transitive dependencies.