CVE-2026-25798
JSON

5.3medium

ImageMagick has NULL Pointer Dereference in ClonePixelCacheRepository via crafted image

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-p863-5fgm-rgq4

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a NULL pointer dereference in ClonePixelCacheRepository allows a remote attacker to crash any application linked against ImageMagick by supplying a crafted image file, resulting in denial of service. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick>= 7.0.0, < 7.1.2-15, < 6.9.13-40, before 6.9.13-40, from 7.0.0-0 before 7.1.2-15CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-x86 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.10.3GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

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

What each source says

CVE List

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a NULL pointer dereference in ClonePixelCacheRepository allows a remote attacker to crash any application linked against ImageMagick by supplying a crafted image file, resulting in denial of service. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

GitHub Advisory Database

A NULL pointer dereference in ClonePixelCacheRepository allows a remote attacker to crash any application linked against ImageMagick by supplying a crafted image file, resulting in Denial of Service.

AddressSanitizer:DEADLYSIGNAL
=================================================================
==3704942==ERROR: AddressSanitizer: UNKNOWN SIGNAL on unknown address 0x000000000000 (pc 0x7f9d141239e0 bp 0x7ffd4c5711e0 sp 0x7ffd4c571148 T0)
    #0 0x7f9d141239e0  (/lib/x86_64-linux-gnu/libc.so.6+0xc49e0)
    #1 0x558a25e4f08d in ClonePixelCacheRepository._omp_fn.0 MagickCore/cache.c:784
    #2 0x7f9d14c06a15 in GOMP_parallel (/lib/x86_64-linux-gnu/libgomp.so.1+0x14a15)
    #3 0x558a25e43151 in ClonePixelCacheRepository MagickCore/cache.c:753
    #4 0x558a25e49a96 in OpenPixelCache MagickCore/cache.c:3849
    #5 0x558a25e45117 in GetImagePixelCache MagickCore/cache.c:1829
    #6 0x558a25e4dde3 in SyncImagePixelCache MagickCore/cache.c:5647
    #7 0x558a256ba57d in SetImageExtent MagickCore/image.c:2713
NVD (es)

ImageMagick es un software libre y de código abierto utilizado para editar y manipular imágenes digitales. Antes de las versiones 7.1.2-15 y 6.9.13-40, una desreferencia de puntero NULL en ClonePixelCacheRepository permite a un atacante remoto bloquear cualquier aplicación vinculada a ImageMagick al proporcionar un archivo de imagen manipulado, lo que resulta en denegación de servicio. Las versiones 7.1.2-15 y 6.9.13-40 contienen un parche.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-25798 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-p863-5fgm-rgq4 changed 2026-02-24CC-BY-4.0
NVDCVE-2026-25798 changed 2026-06-17Public domain