Paper/Archive/CVE-2026-22770

CVE-2026-22770

ImageMagick ImageMagick — ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails

Description · from the CVE record

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

ProductAffectedFixed inSource
ImageMagick< 7.1.2-13–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)6.5CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

refgithub.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3crefgithub.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e