Description
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
References (3)
Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9
Patch x_refsource_misc
https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774
Scores
CVSS v3
7.4
EPSS
0.0012
EPSS Percentile
31.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-124
Status
published
Products (19)
imagemagick/imagemagick
< 6.9.13-26
nuget/Magick.NET-Q16-AnyCPU
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-arm64
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-HDRI-AnyCPU
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-HDRI-arm64
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-HDRI-OpenMP-arm64
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-HDRI-OpenMP-x64
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-HDRI-x64
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-HDRI-x86
0 - 14.7.0NuGet
nuget/Magick.NET-Q16-OpenMP-arm64
0 - 14.7.0NuGet
... and 9 more
Published
Jul 14, 2025
Tracked Since
Feb 18, 2026