Advisory
GHSA-42p5-62qq-mmh7
Also known as: CVE-2026-25987
Summary
ImageMagick has a heap buffer over-read in its MAP image decoder
Details
A heap buffer over-read vulnerability exists in the MAP image decoder when processing crafted MAP files, potentially leading to crashes or unintended memory disclosure during image decoding.
=================================================================
==4070926==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x502000002b31 at pc 0x56517afbd910 bp 0x7ffc59e90000 sp 0x7ffc59e8fff0
READ of size 1 at 0x502000002b31 thread T0Severity
Medium Basis: The source's own band: MODERATE
Dates
- Published
- 2026-02-24 15:44 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-x64 | 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-42p5-62qq-mmh7
- https://nvd.nist.gov/vuln/detail/CVE-2026-25987
- https://github.com/ImageMagick/ImageMagick/commit/bbae0215e1b76830509fd20e6d37c0dd7e3e4c3a
- 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