# CVE-2026-22770: ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-20 · Modified: 2026-01-21
- Aliases: UBUNTU-CVE-2026-22770, DEBIAN-CVE-2026-22770, CGA-cfxq-pphv-95cc, CGA-hrjg-crg5-2xr4, GHSA-39h3-g67r-7g3c
- Record: https://cvemate.com/vulnerability/CVE-2026-22770 · JSON: https://cvemate.com/vulnerability/CVE-2026-22770/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.391%, percentile 35.332%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 23)

- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- debian imagemagick (Debian): \< 8:7.1.1.43+dfsg1-1+deb13u5 \| \< 8:7.1.2.13+dfsg1-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded)
- imagemagick imagemagick: \< 7.1.2-13
- NuGet Magick.NET-Q16-AnyCPU (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-arm64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-HDRI-AnyCPU (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-HDRI-arm64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-HDRI-x64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-HDRI-x86 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-OpenMP-arm64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-OpenMP-x64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-OpenMP-x86 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-x64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q16-x86 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q8-AnyCPU (NuGet): \< 14.10.2
- NuGet Magick.NET-Q8-arm64 (NuGet): \< 14.10.2
- NuGet Magick.NET-Q8-OpenMP-arm64 (NuGet): \< 14.10.2

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c>
- <https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e>
- <https://ubuntu.com/security/CVE-2026-22770>
- <https://www.cve.org/CVERecord?id=CVE-2026-22770>
- <https://security-tracker.debian.org/tracker/CVE-2026-22770>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22770.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22770>
- <https://github.com/ImageMagick/ImageMagick>
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2>

---

Data as of 2026-12-05T14:01:53.377Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
