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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-39h3-g67r-7g3c ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 22 Jan 2026 05:15:00 +0900

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Jan 2026 21:15:00 +0900

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 20 Jan 2026 17:45:00 +0900

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Tue, 20 Jan 2026 10:15:00 +0900

Type Values Removed Values Added
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.
Title ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails
Weaknesses CWE-763
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-21T20:10:46.858Z

Reserved: 2026-01-09T18:27:19.387Z

Link: CVE-2026-22770

cve-icon Vulnrichment

Updated: 2026-01-21T20:08:55.135Z

cve-icon NVD

Status : Received

Published: 2026-01-20T01:15:57.153

Modified: 2026-01-20T01:15:57.153

Link: CVE-2026-22770

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-01-20T00:48:19Z

Links: CVE-2026-22770 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-01-20T17:40:12Z

Weaknesses