ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails
The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But 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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-22770US | critical9.8 | — | ||
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 AcquireBil… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658eWEB
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3cWEB
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22770ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan