Advisory

GHSA-p863-5fgm-rgq4

Also known as: CVE-2026-25798

Summary

ImageMagick has NULL Pointer Dereference in ClonePixelCacheRepository via crafted image

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-24 15:36 UTC
Modified
2026-02-24 16:26 UTC

Affected packages and fixes

18 affected packages; all NuGet · All systems; affected: earlier versions
PackageFix
Magick.NET-Q16-AnyCPUThe export has no generic command for this ecosystem.
Magick.NET-Q16-HDRI-AnyCPUThe export has no generic command for this ecosystem.
Magick.NET-Q16-HDRI-OpenMP-arm64The export has no generic command for this ecosystem.
Magick.NET-Q16-HDRI-OpenMP-x64The export has no generic command for this ecosystem.
Magick.NET-Q16-HDRI-arm64The export has no generic command for this ecosystem.
Magick.NET-Q16-HDRI-x64The export has no generic command for this ecosystem.
Magick.NET-Q16-HDRI-x86The export has no generic command for this ecosystem.
Magick.NET-Q16-OpenMP-arm64The export has no generic command for this ecosystem.
Magick.NET-Q16-OpenMP-x64The export has no generic command for this ecosystem.
Magick.NET-Q16-OpenMP-x86The export has no generic command for this ecosystem.
Magick.NET-Q16-arm64The export has no generic command for this ecosystem.
Magick.NET-Q16-x64The export has no generic command for this ecosystem.
Magick.NET-Q16-x86The export has no generic command for this ecosystem.
Magick.NET-Q8-AnyCPUThe export has no generic command for this ecosystem.
Magick.NET-Q8-OpenMP-arm64The export has no generic command for this ecosystem.
Magick.NET-Q8-OpenMP-x64The export has no generic command for this ecosystem.
Magick.NET-Q8-arm64The export has no generic command for this ecosystem.
Magick.NET-Q8-x86The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences