ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails
Summary
ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-22770 imagemagick Fixed in: 8:7.1.1.43+dfsg1-1+deb13u5
- Ubuntu UBUNTU-CVE-2026-22770 imagemagick
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com