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 package | Versions | Reported by |
|---|---|---|
| ImageMagick ImageMagick | < 7.1.2-13, before 7.1.2-13 | CVE List, NVD |
| Magick.NET-Q8-x64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q8-arm64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q8-x86 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q8-OpenMP-x64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q8-OpenMP-arm64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-x64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-arm64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-x86 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-OpenMP-x64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-OpenMP-arm64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-OpenMP-x86 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-HDRI-x64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-HDRI-arm64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-HDRI-x86 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q8-AnyCPU (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-AnyCPU (NuGet) | before 14.10.2 | GitHub Advisory Database |
| Magick.NET-Q16-HDRI-AnyCPU (NuGet) | before 14.10.2 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22770 changed 2026-01-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-39h3-g67r-7g3c changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-22770 changed 2026-06-17 | Public domain |