GHSA-gwr3-x37h-h84v
ImageMagick has a possible infinite loop in its JPEG encoder when using `jpeg:extent`
Packages
| Ecosystem | Package | Affected | Fixed 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-x64 | < 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).
A `continue` statement in the JPEG extent binary search loop in the jpeg encoder causes an infinite loop when writing persistently fails. An attacker can trigger a 100% CPU consumption and process hang (Denial of Service) with a crafted image.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gwr3-x37h-h84v
- https://nvd.nist.gov/vuln/detail/CVE-2026-26283
- https://github.com/ImageMagick/ImageMagick/commit/c448c6920a985872072fc7be6034f678c087de9b
- https://github.com/ImageMagick/ImageMagick
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3