CVE-2026-22770
MEDIUM6.5EPSS 0.09%ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails
Published: 1/20/2026Modified: 4/28/2026
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 (20)
- Debian/imagemagickfrom 0, < 8:7.1.1.43+dfsg1-1+deb13u5
- NuGet/Magick.NET-Q16-AnyCPUfrom 0, < 14.10.2
- NuGet/Magick.NET-Q16-arm64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-HDRI-AnyCPUfrom 0, < 14.10.2
- NuGet/Magick.NET-Q16-HDRI-arm64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-HDRI-OpenMP-arm64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-HDRI-OpenMP-x64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-HDRI-x64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-HDRI-x86from 0, < 14.10.2
- NuGet/Magick.NET-Q16-OpenMP-arm64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-OpenMP-x64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-OpenMP-x86from 0, < 14.10.2
- NuGet/Magick.NET-Q16-x64from 0, < 14.10.2
- NuGet/Magick.NET-Q16-x86from 0, < 14.10.2
- NuGet/Magick.NET-Q8-AnyCPUfrom 0, < 14.10.2
- NuGet/Magick.NET-Q8-arm64from 0, < 14.10.2
- NuGet/Magick.NET-Q8-OpenMP-arm64from 0, < 14.10.2
- NuGet/Magick.NET-Q8-OpenMP-x64from 0, < 14.10.2
- NuGet/Magick.NET-Q8-x64from 0, < 14.10.2
- NuGet/Magick.NET-Q8-x86from 0, < 14.10.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-22770
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-22770
- PATCHhttps://github.com/ImageMagick/ImageMagick
- WEBhttps://github.com/dlemstra/Magick.NET/releases/tag/14.10.2
- WEBhttps://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e
- WEBhttps://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c