~ / search / GHSA-xgm3-v4r9-wfgm

GHSA-xgm3-v4r9-wfgm

Image Magick has a Memory Leak in coders/ashlar.c

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-25969

Packages

EcosystemPackageAffectedFixed in
NuGet Magick.NET-Q16-AnyCPU < 14.10.3 14.10.3
NuGet Magick.NET-Q16-HDRI-AnyCPU < 14.10.3 14.10.3
NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-HDRI-OpenMP-x64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-HDRI-arm64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-HDRI-x64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-HDRI-x86 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-OpenMP-arm64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-OpenMP-x64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-OpenMP-x86 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-arm64 < 14.10.3 14.10.3
NuGet Magick.NET-Q16-x86 < 14.10.3 14.10.3
NuGet Magick.NET-Q8-AnyCPU < 14.10.3 14.10.3
NuGet Magick.NET-Q8-OpenMP-arm64 < 14.10.3 14.10.3
NuGet Magick.NET-Q8-OpenMP-x64 < 14.10.3 14.10.3
NuGet Magick.NET-Q8-arm64 < 14.10.3 14.10.3
NuGet Magick.NET-Q8-x64 < 14.10.3 14.10.3
NuGet Magick.NET-Q8-x86 < 14.10.3 14.10.3

Details

As written in the advisory (Markdown source, shown as plain text).

Memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak. ``` ```bash ==78968== Memcheck, a memory error detector ==78968== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==78968== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info ==78968== ==78968== HEAP SUMMARY: ==78968== in use at exit: 17,232 bytes in 4 blocks ==78968== total heap usage: 4,781 allocs, 4,777 frees, 785,472 bytes allocated ```

References

External links from the advisory. They lead to third-party sites.