CVE-2026-22770

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

State
Published
Severity
6.5 Medium
Published
Jan 20, 2026
Updated
Jan 21, 2026
Reserved
Jan 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HGitHub_M

Weaknesses

  • CWE-763 Release of Invalid Pointer or Reference

Affected Products

ProductVersions
ImageMagickImageMagick
  • < 7.1.2-13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.