{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-53101","id":"CVE-2025-53101","title":"ImageMagick has Stack Buffer Overflow in image.c","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 `vs","descriptionLong":"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","updated":"2026-10-28T10:45:33.569602477Z","reserved":"2025-06-25T13:41:23.086Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["ImageMagick"],"affectedProducts":[{"vendor":"ImageMagick","product":"ImageMagick","defaultStatus":null,"versions":[{"version":"< 7.1.2-0","status":"affected"},{"version":"< 6.9.13-26","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-AnyCPU","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-HDRI-AnyCPU","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-arm64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-arm64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","purl":"pkg:nuget/Magick.NET-Q16-arm64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","purl":"pkg:nuget/Magick.NET-Q16-x64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","purl":"pkg:nuget/Magick.NET-Q16-x86","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","purl":"pkg:nuget/Magick.NET-Q8-AnyCPU","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-arm64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-x64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","purl":"pkg:nuget/Magick.NET-Q8-arm64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","purl":"pkg:nuget/Magick.NET-Q8-x64","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","purl":"pkg:nuget/Magick.NET-Q8-x86","ranges":["<14.7.0"],"fixed":["14.7.0"],"advisory":"GHSA-qh3h-j545-h8c9"}],"cwes":["CWE-124"],"aliases":["GHSA-qh3h-j545-h8c9"],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53101.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53101","tags":["advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick6/commit/643deeb60803488373cd4799b24d5786af90972e","tags":["web"]},{"url":"https://github.com/ImageMagick/ImageMagick","tags":["package"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0095,"epssPercentile":0.61978,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-53101","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53101","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-53101","ok":true,"note":"18 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qh3h-j545-h8c9","ok":true,"note":"GHSA-qh3h-j545-h8c9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-53101","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}