Advisory
GHSA-782x-jh29-9mf7
Also known as: CVE-2026-25988
Summary
ImageMagick: MSL image stack index may fail to refresh, leading to leaked images
Details
Sometimes msl.c fails to update the stack index, so an image is stored in the wrong slot and never freed on error, causing leaks.
==841485==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 13512 byte(s) in 1 object(s) allocated from:
#0 0x7ff330759887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145Severity
Medium Basis: The source's own band: MODERATE
Dates
- Published
- 2026-02-24 15:45 UTC
- Modified
- 2026-02-24 16:11 UTC
Affected packages and fixes
| Package | Fix |
|---|---|
| Magick.NET-Q16-AnyCPU | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-HDRI-AnyCPU | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-HDRI-OpenMP-x64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-HDRI-arm64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-HDRI-x64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-HDRI-x86 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-OpenMP-arm64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-OpenMP-x64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-OpenMP-x86 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-arm64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-x64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q16-x86 | The export has no generic command for this ecosystem. |
| Magick.NET-Q8-AnyCPU | The export has no generic command for this ecosystem. |
| Magick.NET-Q8-OpenMP-arm64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q8-OpenMP-x64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q8-arm64 | The export has no generic command for this ecosystem. |
| Magick.NET-Q8-x86 | The 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
Links
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-782x-jh29-9mf7
- https://nvd.nist.gov/vuln/detail/CVE-2026-25988
- https://github.com/ImageMagick/ImageMagick/commit/4354fc1d554ec2e6314aed13536efa7bde9593d2
- https://github.com/ImageMagick/ImageMagick
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0