CVE-2026-22770
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-39h3-g67r-7g3c

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.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick< 7.1.2-13, before 7.1.2-13CVE List, NVD
Magick.NET-Q8-x64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q8-arm64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q8-x86 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q8-OpenMP-x64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q8-OpenMP-arm64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q16-x86 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.10.2GitHub Advisory Database
Magick.NET-Q16-OpenMP-x86 (NuGet)before 14.10.2GitHub Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-763

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

ImageMagick es un software libre y de código abierto utilizado para editar y manipular imágenes digitales. El método BilateralBlurImage asignará un conjunto de búferes dobles dentro de AcquireBilateralTLS. Pero, en versiones anteriores a la 7.1.2-13, el último elemento del conjunto no se inicializa correctamente. Esto resultará en la liberación de un puntero inválido dentro de DestroyBilateralTLS cuando la asignación de memoria falle. La versión 7.1.2-13 contiene un parche para el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-22770 changed 2026-01-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-39h3-g67r-7g3c changed 2026-09-10CC-BY-4.0
NVDCVE-2026-22770 changed 2026-06-17Public domain