{"id":"CVE-2025-53101","aliases":["GHSA-qh3h-j545-h8c9"],"url":"https://o3.security/vulnerability/CVE-2025-53101","summary":"ImageMagick has Stack Buffer Overflow in image.c","details":"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.","published":"2025-07-14T19:51:53.338Z","modified":"2026-08-08T09:04:50.870509Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-x64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","fixedVersion":"14.7.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","fixedVersion":"14.7.0"}],"fix":{"url":"https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774","label":"ImageMagick/ImageMagick@66dc8f5"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53101.json"},{"type":"ADVISORY","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53101"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T09:04:50.870509Z"}}