CVE-2026-22770
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-01-20
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.3 %
higher than 26 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Magick.NET-Q16-AnyCPU (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-arm64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-HDRI-AnyCPU (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-HDRI-arm64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-HDRI-x64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-HDRI-x86 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-OpenMP-arm64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-OpenMP-x64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-OpenMP-x86 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-x64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q16-x86 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q8-AnyCPU (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q8-arm64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q8-OpenMP-arm64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q8-OpenMP-x64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q8-x64 (NuGet) | < 14.10.2 | Affected | |
| Magick.NET-Q8-x86 (NuGet) | < 14.10.2 | Affected | |
| Imagemagick | Imagemagick | < 7.1.2-13 | Affected |
Weakness type
-
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.
References
- https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.