What’s Vulnerable › Vulnerabilities
CVE-2026-22770: ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-20 · updated 2026-06-17
- Weakness: CWE-763
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 products
- ImageMagick: before 7.1.2-13 — fixed in 7.1.2-13
How to fix
Upgrade to a fixed version: ImageMagick 7.1.2-13. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c
Get alerted when CVE-2026-22770 or the next vulnerability affects your stack